From dc35d2f125de43fb2b2865e9211cccca8546b8cd Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 4 May 2009 16:58:24 -0700 Subject: 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. --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SConstruct') 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 -- cgit v1.2.3