0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 20:13:05 +02:00

Minor build script change.

This commit is contained in:
James Yonan 2012-05-31 10:01:58 +00:00
parent eccd2cf64f
commit 5489c01b29

View File

@ -55,8 +55,9 @@ FLAGS="-Wall"
[ "$CLANG" = "1" ] && FLAGS="$FLAGS -Wno-tautological-compare" [ "$CLANG" = "1" ] && FLAGS="$FLAGS -Wno-tautological-compare"
FLAGS="$FLAGS -Wno-sign-compare -Wno-unused-parameter" FLAGS="$FLAGS -Wno-sign-compare -Wno-unused-parameter"
# Mac flags # The Mac OS X tun/tap driver doesn't seem to play with with kqueue
if [ "$APPLE_FAMILY" = "1" ]; then # fixme
if [ "$PLATFORM" = "osx" ]; then
CPPFLAGS="$CPPFLAGS -DBOOST_ASIO_DISABLE_KQUEUE" CPPFLAGS="$CPPFLAGS -DBOOST_ASIO_DISABLE_KQUEUE"
fi fi