Just like dependency tracking don't disable precompiled headers if there is only one architecture being built.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
15
configure.in
15
configure.in
@@ -1168,13 +1168,6 @@ if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
|
||||
dnl If we did move to libtool -static we still wouldn't need arch flags
|
||||
dnl because libtool automatically figures it out based on input.
|
||||
retest_macosx_linking=yes
|
||||
|
||||
dnl HACK: PCH could be made to work by precompiling for each architecture into separate directories
|
||||
dnl and including all architecture directories with each compiler invocation.
|
||||
dnl That would require a major rework of Bakefile and at the same time it would be nice to have
|
||||
dnl Objective-C++ precompiled headers.
|
||||
AC_MSG_WARN([Disabling precompiled headers due to universal binary build.])
|
||||
bk_use_pch=no
|
||||
else
|
||||
if test "x$wxUSE_MAC_ARCH" != xno; then
|
||||
OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
|
||||
@@ -1184,7 +1177,15 @@ fi
|
||||
if test "x$OSX_ARCH_OPTS" != "x"; then
|
||||
dnl Check if there is more than one architecture
|
||||
if echo $OSX_ARCH_OPTS | grep -q ","; then
|
||||
AC_MSG_WARN([Disabling dependency tracking due to universal binary build.])
|
||||
disable_macosx_deps=yes
|
||||
|
||||
dnl HACK: PCH could be made to work by precompiling for each architecture into separate directories
|
||||
dnl and including all architecture directories with each compiler invocation.
|
||||
dnl That would require a major rework of Bakefile and at the same time it would be nice to have
|
||||
dnl Objective-C++ precompiled headers.
|
||||
AC_MSG_WARN([Disabling precompiled headers due to universal binary build.])
|
||||
bk_use_pch=no
|
||||
fi
|
||||
|
||||
OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
|
||||
|
Reference in New Issue
Block a user