summaryrefslogtreecommitdiff
path: root/ext/libelf
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2008-10-28 21:13:21 -0400
committerAli Saidi <saidi@eecs.umich.edu>2008-10-28 21:13:21 -0400
commitf4bceb9760c93d3b5ff3c2606f7e460b42724670 (patch)
tree56499a17d1f67a8a62ab7616e975a119e43b7fab /ext/libelf
parent95af120e601671e6819ca97b78a1879d4ab0d853 (diff)
downloadgem5-f4bceb9760c93d3b5ff3c2606f7e460b42724670.tar.xz
Libelf: Append options to CCFLAGS for warning free libelf compile instead of deleting CCFLAGS. Should fix 64bit OS X compile problem.
Diffstat (limited to 'ext/libelf')
-rw-r--r--ext/libelf/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libelf/SConscript b/ext/libelf/SConscript
index ab85308de..d266d20a9 100644
--- a/ext/libelf/SConscript
+++ b/ext/libelf/SConscript
@@ -88,7 +88,7 @@ ElfFile('libelf_fsize.c')
ElfFile('libelf_msize.c')
m4env = env.Copy()
-del m4env['CCFLAGS']
+m4env.Append(CCFLAGS=['-Wno-pointer-sign', '-Wno-implicit'])
del m4env['CPPPATH']
# If we have gm4 use it