diff options
author | Steve Ellcey <sellcey@cavium.com> | 2017-12-14 18:30:38 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2017-12-14 18:30:38 +0000 |
commit | 9d0e85af87d9e7fe3bd68d1647b7c47ad299f011 (patch) | |
tree | e5a3ca9f6062a7f43dd9730ab98439e6fe3ebc86 /libatomic/configure.ac | |
parent | 2004617a8c2e67005230ebfcbdd1e4216b411bf1 (diff) | |
download | gcc-9d0e85af87d9e7fe3bd68d1647b7c47ad299f011.zip gcc-9d0e85af87d9e7fe3bd68d1647b7c47ad299f011.tar.gz gcc-9d0e85af87d9e7fe3bd68d1647b7c47ad299f011.tar.bz2 |
Makefile.am (IFUNC_OPTIONS): Change aarch64 option from -march=armv8.1-a to -march=armv8-a+lse.
2017-12-14 Steve Ellcey <sellcey@cavium.com>
* Makefile.am (IFUNC_OPTIONS): Change aarch64
option from -march=armv8.1-a to -march=armv8-a+lse.
* configure.ac (*aarch64*): Check to see if
compiler understands -march=armv8-a+lse option.
* configure.tgt (*aarch64*): Only set try_ifunc
if compiler understands -march=armv8-a+lse option.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* configure: Regenerate.
* aclocal.m4: Regenerate.
From-SVN: r255659
Diffstat (limited to 'libatomic/configure.ac')
-rw-r--r-- | libatomic/configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libatomic/configure.ac b/libatomic/configure.ac index 6b11f21..cee0198 100644 --- a/libatomic/configure.ac +++ b/libatomic/configure.ac @@ -157,6 +157,12 @@ AC_MSG_CHECKING([for thread model used by GCC]) target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'` AC_MSG_RESULT([$target_thread_file]) +case "$target" in + *aarch64*) + ACX_PROG_CC_WARNING_OPTS([-march=armv8-a+lse],[enable_aarch64_lse]) + ;; +esac + # Get target configury. . ${srcdir}/configure.tgt if test -n "$UNSUPPORTED"; then |