summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index ada5ef2..e4ef041 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1,8 +1,9 @@
import sys, os
sys.path.append(Dir("BuildTools/SCons").abspath)
+import SCons.SConf
################################################################################
# Build variables
################################################################################
vars = Variables("config.py")
@@ -156,12 +157,15 @@ if int(ARGUMENTS.get("V", 0)) == 0:
#Progress(colorize("DEP", "$TARGET", "red")
################################################################################
# Platform configuration
################################################################################
+if ARGUMENTS.get("force-configure", 0) :
+ SCons.SConf.SetCacheMode("force")
+
conf = Configure(conf_env)
if conf.CheckLib("z") :
env.Append(LIBS = "z")
env["ZLIB_FLAGS"] = ""
else :