projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd213f7
)
Parse CC/CXX early so that we use the correct compiler for testing dependencies/versi...
author
Ali Saidi
<saidi@eecs.umich.edu>
Mon, 13 Nov 2006 18:26:36 +0000
(13:26 -0500)
committer
Ali Saidi
<saidi@eecs.umich.edu>
Mon, 13 Nov 2006 18:26:36 +0000
(13:26 -0500)
--HG--
extra : convert_revision :
b34ee03e44b35df30b746c4c570316db75d6ffe5
SConstruct
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index d3428e894779388768e4189586bd461f0b27d442..d8851f0916d4bb26b06a6c52e227921ad0d607af 100644
(file)
--- a/
SConstruct
+++ b/
SConstruct
@@
-175,6
+175,14
@@
env = Environment(ENV = os.environ, # inherit user's environment vars
ROOT = ROOT,
SRCDIR = SRCDIR)
+#Parse CC/CXX early so that we use the correct compiler for
+# to test for dependencies/versions/libraries/includes
+if ARGUMENTS.get('CC', None):
+ env['CC'] = ARGUMENTS.get('CC')
+
+if ARGUMENTS.get('CXX', None):
+ env['CXX'] = ARGUMENTS.get('CXX')
+
env.SConsignFile(os.path.join(build_root,"sconsign"))
# Default duplicate option is to use hard links, but this messes up