summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-05-04 16:58:24 -0700
committerNathan Binkert <nate@binkert.org>2009-05-04 16:58:24 -0700
commitdc35d2f125de43fb2b2865e9211cccca8546b8cd (patch)
tree44ff636b20f5c7454417c894b318f514c82b3bfd /SConstruct
parent7146eb79f179510c980fd7681d1e45adf212c2b0 (diff)
downloadgem5-dc35d2f125de43fb2b2865e9211cccca8546b8cd.tar.xz
scons: re-work the *Source functions to take more information.
Start by turning all of the *Source functions into classes so we can do more calculations and more easily collect the data we need. Add parameters to the new classes for indicating what sorts of flags the objects should be compiled with so we can allow certain files to be compiled without Werror for example.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index bfd93f26f..7a0bf2794 100644
--- a/SConstruct
+++ b/SConstruct
@@ -394,7 +394,7 @@ if main['GCC'] + main['SUNCC'] + main['ICC'] > 1:
if main['GCC']:
main.Append(CCFLAGS='-pipe')
main.Append(CCFLAGS='-fno-strict-aliasing')
- main.Append(CCFLAGS=Split('-Wall -Wno-sign-compare -Werror -Wundef'))
+ main.Append(CCFLAGS=['-Wall', '-Wno-sign-compare', '-Wundef'])
main.Append(CXXFLAGS='-Wno-deprecated')
elif main['ICC']:
pass #Fix me... add warning flags once we clean up icc warnings