diff options
author | Felix Singer <felixsinger@posteo.net> | 2023-10-04 03:10:52 +0000 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-11-02 16:39:07 +0000 |
commit | c374dee8b63994eeea34a9cd2d67e480d3239e19 (patch) | |
tree | dac9c5e42784926ed65d048b4110496b3b49c14e /.clang-format | |
parent | 750d171ba86849616bd6d7e195945afd526174c5 (diff) |
util/crossgcc/buildgcc: Fix detection of GNAT on recent versions
gnatgcc is deprecated and in recent GCC releases its purpose is
fulfilled by the gcc binary. In case of a deprecated gnatgcc version is
installed, it doesn't provide the expected output and hostcc_has_gnat1()
fails. In this case, just set the value of CC to gcc.
It's still required to install GNAT in addition to GCC.
Change-Id: I730bdfda81268d10bd2a41ef5cb4e3810b76a42c
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78215
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions