Merge remote-tracking branch 'origin/patches-2.0'

This commit is contained in:
Nick Mathewson 2014-03-03 11:23:55 -05:00
commit cbfa8da179

View File

@ -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