aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-02-22 23:45:59 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-02-22 23:45:59 +0000
commit27afb80e661ba54a9c71dcb3f52ebe8d46504cc2 (patch)
treef201fc18e729af1952f0d214e16d14fed5025368 /8.3.0/gentoo/22_all_libatomic-Werror.patch
parent7.4.0: lto: fix target-specific option leak into global constructors (diff)
downloadgcc-patches-27afb80e661ba54a9c71dcb3f52ebe8d46504cc2.tar.gz
gcc-patches-27afb80e661ba54a9c71dcb3f52ebe8d46504cc2.tar.bz2
gcc-patches-27afb80e661ba54a9c71dcb3f52ebe8d46504cc2.zip
8.3.0: cut patchset 1.0
It's a verbatim copy of 8.2.0 patchset with upstreamed patches removed. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to '8.3.0/gentoo/22_all_libatomic-Werror.patch')
-rw-r--r--8.3.0/gentoo/22_all_libatomic-Werror.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/8.3.0/gentoo/22_all_libatomic-Werror.patch b/8.3.0/gentoo/22_all_libatomic-Werror.patch
new file mode 100644
index 0000000..0550722
--- /dev/null
+++ b/8.3.0/gentoo/22_all_libatomic-Werror.patch
@@ -0,0 +1,19 @@
+libatomic does not respect --disable-werror
+
+https://bugs.gentoo.org/475350
+--- a/libatomic/configure.ac
++++ b/libatomic/configure.ac
+@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS"
+ # Add -Wall -Werror if we are using GCC.
+ if test "x$GCC" = "xyes"; then
+- XCFLAGS="$XCFLAGS -Wall -Werror"
++ XCFLAGS="$XCFLAGS -Wall"
+ fi
+--- a/libatomic/configure
++++ b/libatomic/configure
+@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS"
+ # Add -Wall -Werror if we are using GCC.
+ if test "x$GCC" = "xyes"; then
+- XCFLAGS="$XCFLAGS -Wall -Werror"
++ XCFLAGS="$XCFLAGS -Wall"
+ fi