util/xcompile: Split $CFLAGS_GCC
commit260ba6b25e6a5611b7ba3b581d343a35fb7bbbff
authorNico Huber <nico.h@gmx.de>
Wed, 18 Mar 2020 14:40:58 +0000 (18 15:40 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 20 Mar 2020 09:33:35 +0000 (20 09:33 +0000)
treeb84d3055add723fbba7f3c21b082bc82c38d197a
parent34473ea6c9ee63de46b04b46cc47ef4aa5bae2b7
util/xcompile: Split $CFLAGS_GCC

Split common flags that are not specific to the C language out of
$CFLAGS_GCC into $FLAGS_GCC. This way, we can test for C specific
flags, too, without adding them to $ADAFLAGS_*. Currently this is
done for `-Wno-address-of-packed-member` which only applies to C.

Change-Id: Ib793c62656efb07b6e5b3385f1ed1c96a40efd1d
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39633
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
util/xcompile/xcompile