]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Remove redundant -std flags from Makefile
authorJonathan Wakely <jwakely@redhat.com>
Tue, 12 Dec 2023 14:54:36 +0000 (14:54 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 12 Dec 2023 22:32:35 +0000 (22:32 +0000)
In r14-4060-gc4baeaecbbf7d0 I moved some files from src/c++98 to
src/c++11 but I didn't remove the redundant -std=gnu++11 flags for those
files. The flags aren't needed now, because AM_CXXFLAGS for that
directory already uses -std=gnu++11. This removes them.

libstdc++-v3/ChangeLog:

* src/c++11/Makefile.am: Remove redundant -std=gnu++11 flags.
* src/c++11/Makefile.in: Regenerate.

libstdc++-v3/src/c++11/Makefile.am
libstdc++-v3/src/c++11/Makefile.in

index 9cddb978928f33d31092a4763029c3ccf0802dd6..b626e477dde7d1026db61b391fb79379a84f167d 100644 (file)
@@ -159,13 +159,13 @@ limits.lo: limits.cc
 limits.o: limits.cc
        $(CXXCOMPILE) -fchar8_t -c $<
 locale_init.lo: locale_init.cc
-       $(LTCXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
+       $(LTCXXCOMPILE) -fchar8_t -c $<
 locale_init.o: locale_init.cc
-       $(CXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
+       $(CXXCOMPILE) -fchar8_t -c $<
 localename.lo: localename.cc
-       $(LTCXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
+       $(LTCXXCOMPILE) -fchar8_t -c $<
 localename.o: localename.cc
-       $(CXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
+       $(CXXCOMPILE) -fchar8_t -c $<
 
 if ENABLE_DUAL_ABI
 # Rewrite the type info for __ios_failure.
index e6d37c5464ca24c63090498970177a775aeb2127..4be021e802590a0a7981e04ef57c8282cb71ace4 100644 (file)
@@ -887,13 +887,13 @@ limits.lo: limits.cc
 limits.o: limits.cc
        $(CXXCOMPILE) -fchar8_t -c $<
 locale_init.lo: locale_init.cc
-       $(LTCXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
+       $(LTCXXCOMPILE) -fchar8_t -c $<
 locale_init.o: locale_init.cc
-       $(CXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
+       $(CXXCOMPILE) -fchar8_t -c $<
 localename.lo: localename.cc
-       $(LTCXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
+       $(LTCXXCOMPILE) -fchar8_t -c $<
 localename.o: localename.cc
-       $(CXXCOMPILE) -std=gnu++11 -fchar8_t -c $<
+       $(CXXCOMPILE) -fchar8_t -c $<
 
 @ENABLE_DUAL_ABI_TRUE@cxx11-ios_failure-lt.s: cxx11-ios_failure.cc
 @ENABLE_DUAL_ABI_TRUE@ $(LTCXXCOMPILE) -gno-as-loc-support -S $< -o tmp-cxx11-ios_failure-lt.s