Commit 1191c46b by Rainer Orth Committed by Rainer Orth

Restrict -Wa,-nH use to Solaris (PR libstdc++/55594)

	PR libstdc++/55594
	* acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
	Solaris targets.
	* configure: Regenerate.

From-SVN: r195009
parent 3138f224
2013-01-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR libstdc++/55594
* acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Restrict test to
Solaris targets.
* configure: Regenerate.
2013-01-07 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/55847
......
......@@ -178,6 +178,10 @@ dnl
AC_DEFUN([GLIBCXX_CHECK_ASSEMBLER_HWCAP], [
test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
# Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
# with a different meaning.
case ${target_os} in
solaris2*)
ac_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wa,-nH"
......@@ -189,6 +193,8 @@ AC_DEFUN([GLIBCXX_CHECK_ASSEMBLER_HWCAP], [
AC_MSG_RESULT($ac_hwcap_flags)
CFLAGS="$ac_save_CFLAGS"
;;
esac
AC_SUBST(HWCAP_FLAGS)
])
......
......@@ -70790,6 +70790,10 @@ esac
test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
# Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
# with a different meaning.
case ${target_os} in
solaris2*)
ac_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wa,-nH"
......@@ -70819,6 +70823,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
$as_echo "$ac_hwcap_flags" >&6; }
CFLAGS="$ac_save_CFLAGS"
;;
esac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment