summaryrefslogtreecommitdiff
path: root/util/crossgcc
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2017-07-18 11:35:35 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2017-07-19 22:33:13 +0000
commite8253fea6308afd186bb349b8f5b831f7d2c9381 (patch)
tree0c2d77382097385bb31241807f61def8daddbcbd /util/crossgcc
parent59e0834f52f5e58e9dcf00f5900e33bb13a914cc (diff)
downloadcoreboot-e8253fea6308afd186bb349b8f5b831f7d2c9381.tar.xz
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 <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/20632 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/crossgcc')
-rwxr-xr-xutil/crossgcc/buildgcc3
1 files changed, 3 insertions, 0 deletions
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"