summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-04-19 16:47:01 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-04-26 18:38:51 (GMT)
commit37de16e21bf73d1dea16343f04d061d3cb389acf (patch)
tree2a618ae3ca054af895f1b515fe58825de938d3fe /BuildTools/SCons
parent37567ebaa72cfc26e6cf49179eb988594c488c4b (diff)
downloadswift-contrib-37de16e21bf73d1dea16343f04d061d3cb389acf.zip
swift-contrib-37de16e21bf73d1dea16343f04d061d3cb389acf.tar.bz2
Added CertificateMemoryStorage.
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r--BuildTools/SCons/SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 5ecb8cb..2d9d200 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -255,7 +255,7 @@ if target in ["iphone-device", "iphone-simulator", "xcode"] :
env["CXX"] = "$XCODE_PLATFORM_DEVELOPER_BIN_DIR/g++"
env["OBJCCFLAGS"] = ["-fobjc-abi-version=2", "-fobjc-legacy-dispatch"]
env["LD"] = env["CC"]
- env.Append(CCFLAGS = env["XCODE_ARCH_FLAGS"])
+ env.Append(CCFLAGS = env["XCODE_ARCH_FLAGS"] + ["-fvisibility=hidden"])
env.Append(LINKFLAGS = env["XCODE_ARCH_FLAGS"])
env.Append(CPPFLAGS = ["-isysroot", "$XCODE_SDKROOT"])
env.Append(FRAMEWORKS = ["CoreFoundation", "Foundation", "UIKit", "CoreGraphics"])