projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0309c87
)
scons: disable several gcc warnings for swig autogenerated wrapper code.
author
Nathan Binkert
<nate@binkert.org>
Fri, 26 Sep 2008 15:18:54 +0000
(08:18 -0700)
committer
Nathan Binkert
<nate@binkert.org>
Fri, 26 Sep 2008 15:18:54 +0000
(08:18 -0700)
src/SConscript
patch
|
blob
|
history
diff --git
a/src/SConscript
b/src/SConscript
index 9734a3618b41ce14c2c8c72e34f97e1a54d8349e..14988bbbe14fdfff80e42ec05d0b3d639f8069f3 100644
(file)
--- a/
src/SConscript
+++ b/
src/SConscript
@@
-947,7
+947,10
@@
def makeEnv(label, objsfx, strip = False, **kwargs):
newEnv.Append(**kwargs)
swig_env = newEnv.Copy()
- swig_env.Append(CCFLAGS='-Wno-uninitialized')
+ if env['GCC']:
+ swig_env.Append(CCFLAGS='-Wno-uninitialized')
+ swig_env.Append(CCFLAGS='-Wno-sign-compare')
+ swig_env.Append(CCFLAGS='-Wno-parentheses')
swig_objs = [ swig_env.Object(s) for s in cc_swig_sources ]
# First make a library of everything but main() so other programs can