mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-11 05:14:46 -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
|
# Disable the unused-function warnings, because these trigger
|
||||||
# for minheap-internal.h related code.
|
# for minheap-internal.h related code.
|
||||||
CFLAGS="$CFLAGS -Wno-unused-function"
|
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
|
fi
|
||||||
|
|
||||||
##This will break the world on some 64-bit architectures
|
##This will break the world on some 64-bit architectures
|
||||||
|
Loading…
x
Reference in New Issue
Block a user