diff options
author | Björn Gustavsson <[email protected]> | 2011-11-15 16:40:49 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-11-25 10:59:38 +0100 |
commit | 448cf0cfe686c5bd6c1d28c08807c6c99b4c49d5 (patch) | |
tree | 4e9ba8d286ef48c6d270f2f506a3779935d37f98 /lib/wx/configure.in | |
parent | fa8edf9882b0b1213018a8421f7c779be3001abc (diff) | |
download | otp-448cf0cfe686c5bd6c1d28c08807c6c99b4c49d5.tar.gz otp-448cf0cfe686c5bd6c1d28c08807c6c99b4c49d5.tar.bz2 otp-448cf0cfe686c5bd6c1d28c08807c6c99b4c49d5.zip |
MacOS X: Completely remove obsolete -no-cpp-precomp option
clang does not recognize the -no-cpp-precomp option and generates
a warning. -no-cpp-precomp is an obsolete Apple-specific gcc option,
which last had any effect in gcc 3.1 for Jaguar.
Since we cannot build for Jaguar anyway, the configure test added
in 8412a400e92d5cbcd is not needed.
Diffstat (limited to 'lib/wx/configure.in')
-rwxr-xr-x | lib/wx/configure.in | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/wx/configure.in b/lib/wx/configure.in index 78c3f0d3d2..e5dc83b27e 100755 --- a/lib/wx/configure.in +++ b/lib/wx/configure.in @@ -219,19 +219,6 @@ AC_SUBST(OBJC_CFLAGS) case $host_os in darwin*) - AC_TRY_COMPILE([],[ - #if __GNUC__ >= 4 - ; - #else - #error old or no gcc - #endif - ], - gcc_need_no_cpp_precomp=no, - gcc_need_no_cpp_precomp=yes) - - if test x$gcc_need_no_cpp_precomp = xyes; then - CFLAGS="-no-cpp-precomp $CFLAGS" - fi LDFLAGS="-bundle -flat_namespace -undefined warning -fPIC $LDFLAGS" # Check sizof_void_p as future will hold 64bit MacOS wx if test $ac_cv_sizeof_void_p = 4; then |