mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 04:19:10 -04:00
Merge remote-tracking branch 'origin/patches-2.0'
This commit is contained in:
commit
cbfa8da179
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user