From 0c451ef3bbf4521ae340d60309a47bb9caaeec7f Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sat, 23 Jun 2001 17:21:40 +0000 Subject: [PATCH] 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 --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 2c20ae7d22..4ed11022ad 100755 --- 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 diff --git a/configure.in b/configure.in index 13cf15da31..3e754bada3 100644 --- a/configure.in +++ b/configure.in @@ -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} -- 2.45.2