From e8253fea6308afd186bb349b8f5b831f7d2c9381 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 18 Jul 2017 11:35:35 +0200 Subject: crossgcc: Clean out ABI variable for GMP This is sometimes set by packaging systems (eg Gentoo), so give it a sane preset. Change-Id: I651fad12128143e8ed5053e7e9871ea271bfc797 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/20632 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer --- util/crossgcc/buildgcc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/crossgcc/buildgcc') diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 0f4dd7a9a6..fc44ff3792 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -1022,6 +1022,9 @@ fi # Set up host compiler and flags needed for various OSes if is_package_enabled "GCC"; then +# sane preset: let the configure script figure out things by itself +# more importantly, avoid any values that might already linger in the variable +OPTIONS="ABI=" if [ $UNAME = "Darwin" ]; then #GCC_OPTIONS="$GCC_OPTIONS --enable-threads=posix" -- cgit v1.2.3