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.
This commit is contained in:
parent
548d47ea2c
commit
7fc4d14699
1 changed files with 5 additions and 1 deletions
|
@ -75,11 +75,15 @@ DRAMFile('Transaction.cpp')
|
|||
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'])
|
||||
|
|
Loading…
Reference in a new issue