[v3, build] Restrict -Wa,-nH use to Solaris (PR libstdc++/55594)

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Mon Jan 7 16:40:00 GMT 2013


As reported in the PR, the AIX assembler also accepts the -nH option,
but with completely different semantics.  To avoid this, the current
patch restricts checking the option to Solaris targets.

Bootstrapped without regressions on i386-pc-solaris2.10 with Sun as
(-Wa,-nH is added), x86_64-unknown-linux-gnu (test no longer performed),
tested on AIX by David.

Ok for mainline?

	Rainer


2013-01-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-Wa-nH-sol2.patch
Type: text/x-patch
Size: 1275 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20130107/7adba79f/attachment.bin>
-------------- next part --------------

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Libstdc++ mailing list