slicc: clean up the slicc environment so things build properly on mac.
authorNathan Binkert <nate@binkert.org>
Wed, 13 May 2009 05:33:04 +0000 (22:33 -0700)
committerNathan Binkert <nate@binkert.org>
Wed, 13 May 2009 05:33:04 +0000 (22:33 -0700)
src/mem/slicc/SConscript

index 64a1993472627c7db35b1c89a479076f49930e74..677ee33ec4147fae8fee8eae120a15dce0b69ef8 100644 (file)
@@ -51,8 +51,8 @@ common_dir = Dir('../gems_common')
 slicc_env = env.Clone()
 slicc_env['CPPDEFINES'] = ''
 slicc_env['CPPPATH'] = Dir('../..')
-slicc_env['CCFLAGS'] = ''
-slicc_env['CXXFLAGS'] = '-Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused -Wno-deprecated'
+slicc_env.Append(CCFLAGS=['-g', '-O0'])
+slicc_env.Append(CPPDEFINES=['DEBUG', 'TRACING_ON=1'])
 slicc_env['LIBS'] = ''
 slicc_env['LIBPATH'] = ''
 all_slicc_sources = []