summaryrefslogtreecommitdiff
path: root/libstdc++-v3/fragment.am
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2017-01-06 14:33:47 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2017-01-06 14:33:47 +0000
commitbdb61f32da4856cc2cc4a1527bca5edeb005b0b9 (patch)
treeff66792600204f68fadebd00c8bcf64320dbb145 /libstdc++-v3/fragment.am
parent89aafd75b69e63ffbf60b558ba5c27d6989c1309 (diff)
downloadgcc-bdb61f32da4856cc2cc4a1527bca5edeb005b0b9.tar.gz
Build libgo with -Wa,-nH if possible (PR go/78978) [non-libgo parts]
libstdc++-v3: PR go/78978 * acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Remove. * configure.ac: Call GCC_CHECK_ASSEMBLER_HWCAP instead of GLIBCXX_CHECK_ASSEMBLER_HWCAP. * fragment.am (CONFIG_CXXFLAGS): Use HWCAP_CFLAGS instead of HWCAP_FLAGS. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in, doc/Makefile.in, include/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, python/Makefile.in, src/Makefile.in, src/c++11/Makefile.in, src/c++98/Makefile.in, src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate. config: PR go/78978 * hwcaps.m4 (GCC_CHECK_ASSEMBLER_HWCAP): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244162 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/fragment.am')
-rw-r--r--libstdc++-v3/fragment.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/fragment.am b/libstdc++-v3/fragment.am
index 03eb753536d..f29811a1f3b 100644
--- a/libstdc++-v3/fragment.am
+++ b/libstdc++-v3/fragment.am
@@ -28,7 +28,7 @@ endif
# These bits are all figured out from configure. Look in acinclude.m4
# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
CONFIG_CXXFLAGS = \
- $(SECTION_FLAGS) $(HWCAP_FLAGS) -frandom-seed=$@
+ $(SECTION_FLAGS) $(HWCAP_CFLAGS) -frandom-seed=$@
WARN_CXXFLAGS = \
$(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once