summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-06-17 20:11:35 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-06-17 20:13:16 +0100
commitef4bf40db03ff1df2bae2db8f4a65421bf4a7c06 (patch)
tree6b9971c7c78f48f375a9e4f750fd9fca2ee4d59e /SConstruct
parentc9be435c79e2bbc883701c5533ae0490780495be (diff)
downloadexternal_mesa3d-ef4bf40db03ff1df2bae2db8f4a65421bf4a7c06.zip
external_mesa3d-ef4bf40db03ff1df2bae2db8f4a65421bf4a7c06.tar.gz
external_mesa3d-ef4bf40db03ff1df2bae2db8f4a65421bf4a7c06.tar.bz2
scons: Remember the options set on the command line.
Save them in config.py
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 2 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 104cc38..6b725c4 100644
--- a/SConstruct
+++ b/SConstruct
@@ -40,6 +40,8 @@ env = Environment(
ENV = os.environ,
)
+opts.Save('config.py', env)
+
# Backwards compatability with old target configuration variable
try:
targets = ARGUMENTS['targets']