crossgcc: Prefer gnatgcc over gcc if available

Hardware / Coreboot - Patrick Georgi [google.com] - 11 July 2017 02:08 EDT

For distros that package and version gnat independently from gcc (such as Ubuntu), try to build with gnatgcc first. This fixes the issue of gcc -print-prog-name=gnat1 failing because gcc is of a different version.

Change-Id: Icec6d1fba8855e88ac91d47842dcb7f6b9d35461

8f2cdad crossgcc: Prefer gnatgcc over gcc if available
util/crossgcc/buildgcc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Upstream: review.coreboot.org


  • Share