summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-06-26 06:26:08 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-06-26 06:26:08 (GMT)
commitc852c3b310bcc32bfe634816ad5f08c1f7379a98 (patch)
tree2b102133cd79dc60e31cfe3d02b20d61a4174f1e /configure.in
parenta9984eddbf37c026932001fb2995c7a903897e64 (diff)
downloadswift-c852c3b310bcc32bfe634816ad5f08c1f7379a98.zip
swift-c852c3b310bcc32bfe634816ad5f08c1f7379a98.tar.bz2
Make sure configure uses the universal compilation flags in its tests.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 620e16b..7810384 100644
--- a/configure.in
+++ b/configure.in
@@ -93,6 +93,9 @@ AC_ARG_ENABLE(universal,
CONFIG_CXXFLAGS="$CONFIG_CXXFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
CONFIG_CFLAGS="$CONFIG_CFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
CONFIG_LDFLAGS="$CONFIG_LDFLAGS -mmacosx-version-min=10.4 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
+ CXXFLAGS="$CXXFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
+ CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
+ LDFLAGS="$LDFLAGS -mmacosx-version-min=10.4 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
fi],
[])