scons: Add a mechanism to append flags when building particular files.
authorGabe Black <gabeblack@google.com>
Thu, 30 Jan 2020 07:44:54 +0000 (23:44 -0800)
committerGabe Black <gabeblack@google.com>
Sat, 1 Feb 2020 09:25:07 +0000 (09:25 +0000)
commit017ffc268ae050e387cb71d7a4ee6eff85cca102
tree9787d5fc0d7fa6de300abb491a1e674c138fb2f2
parent82f6d6e90f36e400db1f38eef5fe17430313458e
scons: Add a mechanism to append flags when building particular files.

This could be used to tweak settings for a particular file if it needed
special treatment. I plan to use this for protobuf files which generate
code that produce a warning in gcc 9 which turns into an error.

Change-Id: I53e2dac48cd68f0cc8ad9031d8484c5036d6e4a6
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24923
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/SConscript