summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-08-11 19:21:21 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-08-11 19:21:21 (GMT)
commit8fa9a04d820f73dc00b3dcb137b417b846e6ff68 (patch)
treeb7437903c38986df94e216907687cbb652352cae
parent3f94565804fce16c98e77e59934e87f95c2b1320 (diff)
downloadswift-8fa9a04d820f73dc00b3dcb137b417b846e6ff68.zip
swift-8fa9a04d820f73dc00b3dcb137b417b846e6ff68.tar.bz2
Disable debug on windows by default.
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index a7727bd..fb940ab 100644
--- a/SConstruct
+++ b/SConstruct
@@ -6,7 +6,7 @@ import sys, os
vars = Variables("config.py")
vars.Add(BoolVariable("optimize", "Compile with optimizations turned on", "no"))
-vars.Add(BoolVariable("debug", "Compile with debug information", "yes"))
+vars.Add(BoolVariable("debug", "Compile with debug information", "yes" if os.name != "nt" else "no"))
vars.Add(BoolVariable("warnings", "Compile with warnings turned on",
"yes" if os.name != "nt" else "no"))
if os.name != "nt" :