]> gcc.gnu.org Git - gcc.git/commitdiff
libstdc++: Fix unconditional -Werror in libbacktrace directory
authorAlexey Lapshin <alexey.lapshin@espressif.com>
Fri, 8 Sep 2023 10:23:16 +0000 (11:23 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 8 Sep 2023 17:04:12 +0000 (18:04 +0100)
The -Werror flag should depend on the --enable-werror configure option.

libstdc++-v3/ChangeLog:

* src/libbacktrace/Makefile.am: Remove -Werror.
* src/libbacktrace/Makefile.in: Regenerate.

libstdc++-v3/src/libbacktrace/Makefile.am
libstdc++-v3/src/libbacktrace/Makefile.in

index 9abf9dd64a1aaf103d2b9dd253d85ca0aefa9b8a..27c1ea570e0f7f4f670f51c30b3f5f5f647ba286 100644 (file)
@@ -45,7 +45,7 @@ libstdc___libbacktrace_la_CPPFLAGS = \
        $(BACKTRACE_CPPFLAGS)
 
 WARN_FLAGS = -W -Wall -Wwrite-strings -Wmissing-format-attribute \
-            -Wcast-qual -Werror
+            -Wcast-qual
 C_WARN_FLAGS = $(WARN_FLAGS) -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wno-unused-but-set-variable
 CXX_WARN_FLAGS = $(WARN_FLAGS) -Wno-unused-parameter
 AM_CFLAGS = $(C_WARN_FLAGS)
index 1c1242d8827820c10b491216d1ceb0f88d64da37..b78c84437514688db26da924a9a874b4799d5957 100644 (file)
@@ -368,7 +368,7 @@ VTV_CXXFLAGS = @VTV_CXXFLAGS@
 VTV_CXXLINKFLAGS = @VTV_CXXLINKFLAGS@
 VTV_PCH_CXXFLAGS = @VTV_PCH_CXXFLAGS@
 WARN_FLAGS = -W -Wall -Wwrite-strings -Wmissing-format-attribute \
-            -Wcast-qual -Werror
+            -Wcast-qual
 
 XMLCATALOG = @XMLCATALOG@
 XMLLINT = @XMLLINT@
This page took 0.069799 seconds and 5 git commands to generate.