summaryrefslogtreecommitdiff
path: root/src/unittest/unittest.cc
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@arm.com>2019-05-21 13:19:24 +0100
committerCiro Santilli <ciro.santilli@arm.com>2019-06-10 10:12:02 +0000
commitec50225a654ddaedfcc6608409af496bab1d41c1 (patch)
tree3886c212c6966fffe340785d1975e33224cb4984 /src/unittest/unittest.cc
parentc1e040d81aa6fe0dcd9ecce1d4bf4b3cef60f894 (diff)
downloadgem5-ec50225a654ddaedfcc6608409af496bab1d41c1.tar.xz
scons: allow passing arbitrary CCFLAGS and LDFLAGS from the CLI
The flags may be passed as: scons CCFLAGS_EXTRA='-Wno-error -pedantic' \ LDFLAGS_EXTRA='-g -g' build/<arch>/gem5.opt The initial motivation for this commit is to help disable warning that have become errors while bisecting. scons orders the flags by Append call order, and ideally these flags should be added last to override the others, since the last GCC flags take precedence. However I haven't found a simple way to put them at the very end. Change-Id: Ida24dfb9604d88b99f113392ab5e47d578ba7259 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19048 Reviewed-by: Juha Jäykkä <juha.jaykka@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/unittest/unittest.cc')
0 files changed, 0 insertions, 0 deletions