Don't use ancient -no-cpp-precomp flag on OS X.

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.

Fixes #14029.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2012-04-29 09:36:44 +00:00
parent 39258ad796
commit 550a0c4154
2 changed files with 2 additions and 18 deletions

View File

@@ -558,16 +558,7 @@ AC_DEFUN([AC_BAKEFILE_DEPS],
if test "x$GCC" = "xyes"; then
DEPSMODE=gcc
case "${BAKEFILE_HOST}" in
*-*-darwin* )
dnl -cpp-precomp (the default) conflicts with -MMD option
dnl used by bk-deps (see also http://developer.apple.com/documentation/Darwin/Conceptual/PortingUnix/compiling/chapter_4_section_3.html)
DEPSFLAG="-no-cpp-precomp -MMD"
;;
* )
DEPSFLAG="-MMD"
;;
esac
DEPSFLAG="-MMD"
AC_MSG_RESULT([gcc])
elif test "x$MWCC" = "xyes"; then
DEPSMODE=mwcc

9
configure vendored
View File

@@ -53827,14 +53827,7 @@ echo "${ECHO_T}disabled" >&6; }
if test "x$GCC" = "xyes"; then
DEPSMODE=gcc
case "${BAKEFILE_HOST}" in
*-*-darwin* )
DEPSFLAG="-no-cpp-precomp -MMD"
;;
* )
DEPSFLAG="-MMD"
;;
esac
DEPSFLAG="-MMD"
{ echo "$as_me:$LINENO: result: gcc" >&5
echo "${ECHO_T}gcc" >&6; }
elif test "x$MWCC" = "xyes"; then