scons: Unify the flags shared by gcc and clang
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 19 Feb 2013 10:56:07 +0000 (05:56 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 19 Feb 2013 10:56:07 +0000 (05:56 -0500)
commit08a5fd328b25d2ff431dc8f593c2d1bf3816b36e
tree085f00bcddb25887b90c68ed41fcd87dc01f91a6
parent5eddb6387765240730bfb1c57f481133d3a3c737
scons: Unify the flags shared by gcc and clang

This patch restructures and unifies the flags used by gcc and clang as
they are largely the same. The common parts are now dealt with in a
shared block of code, and the few bits and pieces that are
specifically affecting either gcc or clang are done separately.
SConstruct
src/SConscript