diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-05-30 17:22:22 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-05-30 17:23:05 (GMT) |
commit | c3795a7260404ecf450b1720dd655199e3b18243 (patch) | |
tree | bcefe48dc10d7cdd97b5be6d87aba0f4b80ff0e5 | |
parent | 522ee22e29e254800caf1c830ce66c4ede5ca5b5 (diff) | |
download | swift-c3795a7260404ecf450b1720dd655199e3b18243.zip swift-c3795a7260404ecf450b1720dd655199e3b18243.tar.bz2 |
Fixed link flags for building against OS X 10.5 SDK.
-rw-r--r-- | BuildTools/SCons/SConstruct | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct index 8b27722..9b6be78 100644 --- a/BuildTools/SCons/SConstruct +++ b/BuildTools/SCons/SConstruct @@ -91,7 +91,7 @@ if env.get("universal", 0) : "-arch", "ppc"]) env.Append(LINKFLAGS = [ "-mmacosx-version-min=10.4", - "-Wl", "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk", + "-isysroot", "/Developer/SDKs/MacOSX10.4u.sdk", "-arch", "i386", "-arch", "ppc"]) @@ -101,8 +101,8 @@ if env.get("mac105", 0) : "-isysroot", "/Developer/SDKs/MacOSX10.5.sdk", "-arch", "i386"]) env.Append(LINKFLAGS = [ - "-mmacosx-version-min=10.4", - "-Wl", "-syslibroot,/Developer/SDKs/MacOSX10.5.sdk", + "-mmacosx-version-min=10.5", + "-isysroot", "/Developer/SDKs/MacOSX10.5.sdk", "-arch", "i386"]) |