diff options
author | Martin Roth <martinroth@google.com> | 2016-01-05 14:47:59 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-01-07 17:17:09 +0100 |
commit | c4b684ebee0ccbf1b67064317f68f5287e720642 (patch) | |
tree | e06c209a3dadf34c43f50536e3e0a9306851f7b8 /util/cbfstool/common.c | |
parent | f3e60d0d6957b7d12b09c4e13d63275e493bb7bc (diff) |
xcompile: Put compiler variables outside of 'if' to allow checking
In order to be able to check the compiler versions, we need to be
able to access the compiler variables. Move the original assignments
outside of the GCC check, and assign either the GCC or CLANG compiler
to the actual CC_ environment variable later. This ends up with the
same value set, while allowing the compiler versions to be checked.
Change-Id: Iffad02d526420ebbdfb15ed45eb51187caaa94fb
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12841
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/cbfstool/common.c')
0 files changed, 0 insertions, 0 deletions