diff --git a/configure.ac b/configure.ac index a2a47bfa..2073b4ec 100644 --- a/configure.ac +++ b/configure.ac @@ -816,6 +816,15 @@ if test x$enable_gcc_warnings != xno && test "$GCC" = "yes"; then # Disable the unused-function warnings, because these trigger # for minheap-internal.h related code. CFLAGS="$CFLAGS -Wno-unused-function" + + # clang on macosx emits warnigns for each directory specified which + # isn't "used" generating a lot of build noise (typically 3 warnings + # per file + case "$host_os" in + darwin*) + CFLAGS="$CFLAGS -Qunused-arguments" + ;; + esac fi ##This will break the world on some 64-bit architectures