added -cpp-precomp option for c++ compiler under Mac OS X so that

precompiled system headers are used (compilation is twice as fast!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot 2001-06-23 17:21:40 +00:00
parent c60f15f01d
commit 0c451ef3bb
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -13164,7 +13164,7 @@ fi
if test "$wxUSE_MAC" = 1 ; then
TOOLKIT_DEF="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
CFLAGS="${CFLAGS} -fno-common -fpascal-strings"
CPPFLAGS="${CPPFLAGS} -fno-common -fpascal-strings"
CPPFLAGS="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
# Extract the first word of "Rez", so it can be a program name with args.
set dummy Rez; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6

View File

@ -2971,7 +2971,7 @@ fi
if test "$wxUSE_MAC" = 1 ; then
TOOLKIT_DEF="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
CFLAGS="${CFLAGS} -fno-common -fpascal-strings"
CPPFLAGS="${CPPFLAGS} -fno-common -fpascal-strings"
CPPFLAGS="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
AC_CHECK_PROG(REZ, Rez, Rez, /Developer/Tools/Rez)
AC_CHECK_PROG(DEREZ, Derez, Derez, /Developer/Tools/Derez)
RESCOMP=${REZ}