changeset 476aeb6b51b0 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=476aeb6b51b0
description:
ext: Fix typo in DRAMSim2 SConscript
This patch fixes a typo in the SConscript which caused the DRAMSim2
sources to be built without the appropriate flags.
diffstat:
ext/dramsim2/SConscript | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r eb34ae5204b8 -r 476aeb6b51b0 ext/dramsim2/SConscript
--- a/ext/dramsim2/SConscript Sun Mar 23 11:11:40 2014 -0400
+++ b/ext/dramsim2/SConscript Sun Mar 23 11:11:42 2014 -0400
@@ -75,11 +75,15 @@
dramenv = main.Clone()
dramenv.Append(CCFLAGS=['-Wno-unused-value'])
+# If we are using clang, there are more flags to disable
+if main['CLANG']:
+ dramenv.Append(CCFLAGS=['-Wno-unused-private-field'])
+
# Tell DRAMSim2 to not store any data as this is already covered by
# the wrapper
dramenv.Append(CCFLAGS=['-DNO_STORAGE'])
-dramenv.Library('dramsim2', [main.SharedObject(f) for f in dram_files])
+dramenv.Library('dramsim2', [dramenv.SharedObject(f) for f in dram_files])
main.Prepend(CPPPATH=Dir('.'))
main.Append(LIBS=['dramsim2'])
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev