Don't use ancient -no-cpp-precomp flag on OS X.
authorBruno Cabral <bcabral@uw.edu>
Thu, 12 Dec 2013 16:18:18 +0000 (16:18 +0000)
committerBruno Cabral <bcabral@uw.edu>
Thu, 12 Dec 2013 16:18:18 +0000 (16:18 +0000)
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.

configure.ac

index fcec00df0c64fddd6d3ecdca644acfae611831f4..dd099513f78fac44440b6034413efb86c350c9a9 100644 (file)
@@ -75,7 +75,7 @@ case "$host_os" in
 *darwin* | *rhapsody* | *macosx*)
      AC_DEFINE_UNQUOTED(DARWIN,1,[This is an Apple Darwin system])
      CPPFLAGS="-D_APPLE_C_SOURCE $CPPFLAGS"
-     CFLAGS="-no-cpp-precomp -fno-common $CFLAGS"
+     CFLAGS="-fno-common $CFLAGS"
      AC_MSG_WARN([The VPN application cannot be compiled on your OS])
      build_target="darwin"
      DEFAULT_INTERFACE="\"en0\""