From: Nathan Binkert Date: Wed, 13 May 2009 05:33:04 +0000 (-0700) Subject: slicc: clean up the slicc environment so things build properly on mac. X-Git-Tag: Calvin_Submission~313 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d923ce0f8ca6a534b1127664792b936f22677a77;p=gem5.git slicc: clean up the slicc environment so things build properly on mac. --- diff --git a/src/mem/slicc/SConscript b/src/mem/slicc/SConscript index 64a199347..677ee33ec 100644 --- a/src/mem/slicc/SConscript +++ b/src/mem/slicc/SConscript @@ -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 = []