aboutsummaryrefslogtreecommitdiffstats
path: root/build-gcc.sh
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2016-03-25 16:19:29 -0700
committerCaroline Tice <cmtice@google.com>2016-03-25 16:19:29 -0700
commit41c11c2a743ea85be67d0840dbbb6d5125bb8798 (patch)
tree4f693e051b138f50cdfad035b29b01f4b6afbe07 /build-gcc.sh
parentac16f08b86701ecf70e32f4ead8db63d92603808 (diff)
downloadtoolchain_gcc-41c11c2a743ea85be67d0840dbbb6d5125bb8798.tar.gz
toolchain_gcc-41c11c2a743ea85be67d0840dbbb6d5125bb8798.tar.bz2
toolchain_gcc-41c11c2a743ea85be67d0840dbbb6d5125bb8798.zip
Add top-level flag, --enable-libatomic-ifuncs=[yes/no]
This CL adds a top-level configure flag, --enable-libatomic-ifuncs. IF this is set to 'no', then libatomic will not be configured/built to use IFUNC. This is to fix https://buganizer.corp.google.com/issues/22699878 Change-Id: I76741fe854fc9c32a230b67c72920adfb00473ee
Diffstat (limited to 'build-gcc.sh')
-rwxr-xr-xbuild-gcc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-gcc.sh b/build-gcc.sh
index 707ff272f..4893461cf 100755
--- a/build-gcc.sh
+++ b/build-gcc.sh
@@ -389,6 +389,7 @@ fi
cd $BUILD_OUT && run \
$BUILD_SRCDIR/configure --target=$ABI_CONFIGURE_TARGET \
--enable-bionic-libs \
+ --enable-libatomic-ifuncs=no \
--enable-initfini-array \
--host=$ABI_CONFIGURE_HOST \
--build=$ABI_CONFIGURE_BUILD \