]> git.saurik.com Git - wxWidgets.git/commitdiff
added -cpp-precomp option for c++ compiler under Mac OS X so that
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 23 Jun 2001 17:21:40 +0000 (17:21 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 23 Jun 2001 17:21:40 +0000 (17:21 +0000)
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

configure
configure.in

index 2c20ae7d22c7d239961155a50fc024d0c3324492..4ed11022ad27160fa4cbb9eabef80dce3e3310b5 100755 (executable)
--- a/configure
+++ b/configure
@@ -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
index 13cf15da31303f4998dabc0cf91df3f5d468e725..3e754bada36b2adbd6e5652ffa6048d4b7b264c4 100644 (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}