diff options
author | Bruno Cabral <bcabral@uw.edu> | 2013-12-12 16:18:18 +0000 |
---|---|---|
committer | Bruno Cabral <bcabral@uw.edu> | 2013-12-12 16:18:18 +0000 |
commit | 32b5537ac7b0d3a854c62727d6dc7ef27ad0f038 (patch) | |
tree | 51d9da382a1da98cdf836450003bf5146ab5f552 | |
parent | a249593c78b7dfaec8782f3d39dfe07271c777fa (diff) | |
download | gnunet-32b5537ac7b0d3a854c62727d6dc7ef27ad0f038.tar.gz gnunet-32b5537ac7b0d3a854c62727d6dc7ef27ad0f038.zip |
Don't use ancient -no-cpp-precomp flag on OS X.
Straight copy from WxWidgets :
See http://trac.wxwidgets.org/ticket/14029 for a discussion of the
problems it causes when using non-Apple compiler. Even for Apple's GCC,
it does nothing these days and we no longer support OS X 10.3, so
there's no point in continuing to use it.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index fcec00df0..dd099513f 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -75,7 +75,7 @@ case "$host_os" in | |||
75 | *darwin* | *rhapsody* | *macosx*) | 75 | *darwin* | *rhapsody* | *macosx*) |
76 | AC_DEFINE_UNQUOTED(DARWIN,1,[This is an Apple Darwin system]) | 76 | AC_DEFINE_UNQUOTED(DARWIN,1,[This is an Apple Darwin system]) |
77 | CPPFLAGS="-D_APPLE_C_SOURCE $CPPFLAGS" | 77 | CPPFLAGS="-D_APPLE_C_SOURCE $CPPFLAGS" |
78 | CFLAGS="-no-cpp-precomp -fno-common $CFLAGS" | 78 | CFLAGS="-fno-common $CFLAGS" |
79 | AC_MSG_WARN([The VPN application cannot be compiled on your OS]) | 79 | AC_MSG_WARN([The VPN application cannot be compiled on your OS]) |
80 | build_target="darwin" | 80 | build_target="darwin" |
81 | DEFAULT_INTERFACE="\"en0\"" | 81 | DEFAULT_INTERFACE="\"en0\"" |