From dce4d465a6eed58c7dc99b5b3267eea751738b01 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 7 Sep 2018 01:00:54 +0200 Subject: util/crossgcc: Tell gcc that it'll use gnu as and ld Otherwise it reduces its expectations on what as and ld take in terms of arguments, which breaks some edk2 related builds because tons of -I$path_to_stuff arguments aren't passed along. Change-Id: I53f87442de03d5ead8a6632d3102d5502065b828 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/28534 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- util/crossgcc/buildgcc | 1 + 1 file changed, 1 insertion(+) diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index d80fcf1dc6..dea42adaa9 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -787,6 +787,7 @@ build_cross_GCC() { --with-system-zlib \ --with-gmp="$DESTDIR$TARGETDIR" --with-mpfr="$DESTDIR$TARGETDIR" \ --with-mpc="$DESTDIR$TARGETDIR" \ + --with-gnu-as --with-gnu-ld \ --with-pkgversion="coreboot toolchain v$CROSSGCC_VERSION $CROSSGCC_DATE" \ && \ mkdir -p gcc/$TARGETARCH && \ -- cgit v1.2.3