aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/configure
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 /gcc-4.9/configure
parentac16f08b86701ecf70e32f4ead8db63d92603808 (diff)
downloadtoolchain_gcc-41c11c2a743ea85be67d0840dbbb6d5125bb8798.zip
toolchain_gcc-41c11c2a743ea85be67d0840dbbb6d5125bb8798.tar.gz
toolchain_gcc-41c11c2a743ea85be67d0840dbbb6d5125bb8798.tar.bz2
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 'gcc-4.9/configure')
-rwxr-xr-xgcc-4.9/configure19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc-4.9/configure b/gcc-4.9/configure
index b209bc9..186f52f 100755
--- a/gcc-4.9/configure
+++ b/gcc-4.9/configure
@@ -785,6 +785,7 @@ with_debug_prefix_map
with_build_config
enable_vtable_verify
enable_bionic_libs
+enable_libatomic_ifuncs
enable_serial_configure
with_build_time_tools
enable_maintainer_mode
@@ -1485,6 +1486,7 @@ Optional Features:
Objective-C runtime
--enable-vtable-verify Enable vtable verification feature
--enable-bionic-libs Use bionic libstdc++ libraries
+ --enable-bionic-libs Enable/disable IFUNCs in libatomic library
--enable-serial-[{host,target,build}-]configure
force sequential configuration of sub-packages for
the host, target or build machine, or all
@@ -7240,6 +7242,23 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_bionic_libs" >&5
$as_echo "$enable_bionic_libs" >&6; }
+# Use same top-level configure hooks in libatomic.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-libatomic-ifuncs" >&5
+$as_echo_n "checking for --enable-libatomic-ifuncs... " >&6; }
+# Check whether --enable-libatomic-ifuncs was given.
+if test "${enable_libatomic_ifuncs+set}" = set; then :
+ enableval=$enable_libatomic_ifuncs; case "$enableval" in
+ yes) enable_libatomic_ifuncs=yes ;;
+ no) enable_libatomic_ifuncs=no ;;
+ *) enable_libatomic_ifuncs=yes;;
+ esac
+else
+ enable_libatomic_ifuncs=yes
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libatomic_ifuncs" >&5
+$as_echo "$enable_libatomic_ifuncs" >&6; }
+
# Record target_configdirs and the configure arguments for target and
# build configuration in Makefile.
target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`