aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/configure.ac
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2016-03-29 22:30:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-03-29 22:30:35 +0000
commitaec28b44e467a139d5f5cefe038e3f4a30dfc478 (patch)
tree683ea6a4fdd09801ee89dbb792e4c2d43d394795 /gcc-4.9/configure.ac
parent859df16485d512e69b529f57a9c747107dec23bc (diff)
parent41c11c2a743ea85be67d0840dbbb6d5125bb8798 (diff)
downloadtoolchain_gcc-aec28b44e467a139d5f5cefe038e3f4a30dfc478.zip
toolchain_gcc-aec28b44e467a139d5f5cefe038e3f4a30dfc478.tar.gz
toolchain_gcc-aec28b44e467a139d5f5cefe038e3f4a30dfc478.tar.bz2
Merge "Add top-level flag, --enable-libatomic-ifuncs=[yes/no]"
Diffstat (limited to 'gcc-4.9/configure.ac')
-rw-r--r--gcc-4.9/configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc-4.9/configure.ac b/gcc-4.9/configure.ac
index e04fdfe..b78629a 100644
--- a/gcc-4.9/configure.ac
+++ b/gcc-4.9/configure.ac
@@ -2556,6 +2556,18 @@ AC_ARG_ENABLE(bionic-libs,
[enable_bionic_libs=no])
AC_MSG_RESULT($enable_bionic_libs)
+# Use same top-level configure hooks in libatomic.
+AC_MSG_CHECKING([for --enable-libatomic-ifuncs])
+AC_ARG_ENABLE(libatomic-ifuncs,
+[ --enable-bionic-libs Enable/disable IFUNCs in libatomic library ],
+[case "$enableval" in
+ yes) enable_libatomic_ifuncs=yes ;;
+ no) enable_libatomic_ifuncs=no ;;
+ *) enable_libatomic_ifuncs=yes;;
+ esac],
+[enable_libatomic_ifuncs=yes])
+AC_MSG_RESULT($enable_libatomic_ifuncs)
+
# Record target_configdirs and the configure arguments for target and
# build configuration in Makefile.
target_configdirs=`echo "${target_configdirs}" | sed -e 's/target-//g'`