diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-11-21 09:28:39 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-11-21 09:28:39 (GMT) |
commit | 3bcabdb3c42ae66b615dfe611ec117695709dd8c (patch) | |
tree | 4a7bd519b7f1e34bcd6e46605bebd6a365e679aa /SConstruct | |
parent | b9789d12ea23058e24db495340a3fdaead3cd73b (diff) | |
download | swift-3bcabdb3c42ae66b615dfe611ec117695709dd8c.zip swift-3bcabdb3c42ae66b615dfe611ec117695709dd8c.tar.bz2 |
ldflags -> linkflags
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ sys.path.append(Dir("BuildTools/SCons").abspath) vars = Variables("config.py") vars.Add('ccflags', "Extra C(++) compiler flags") -vars.Add('ldflags', "Extra linker flags") +vars.Add('linkflags', "Extra linker flags") vars.Add(EnumVariable("test", "Compile and run tests", "none", ["none", "all", "unit", "system"])) vars.Add(BoolVariable("optimize", "Compile with optimizations turned on", "no")) vars.Add(BoolVariable("debug", "Compile with debug information", "yes" if os.name != "nt" else "no")) @@ -48,7 +48,7 @@ if env["PLATFORM"] == "win32" : # Default compiler flags env["CCFLAGS"] = env.get("ccflags", []) -env["LDFLAGS"] = env.get("ldflags", []) +env["LINKFLAGS"] = env.get("linkflags", []) if env["optimize"] : env.Append(CCFLAGS = "-O2") if env["PLATFORM"] == "win32" : |