diff options
Diffstat (limited to '6.4.0/gentoo/105_all_libgomp-Werror.patch')
-rw-r--r-- | 6.4.0/gentoo/105_all_libgomp-Werror.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/6.4.0/gentoo/105_all_libgomp-Werror.patch b/6.4.0/gentoo/105_all_libgomp-Werror.patch new file mode 100644 index 0000000..416808a --- /dev/null +++ b/6.4.0/gentoo/105_all_libgomp-Werror.patch @@ -0,0 +1,20 @@ +libgomp does not respect --disable-werror + +https://bugs.gentoo.org/229059 +http://gcc.gnu.org/PR38436 +--- a/libgomp/configure.ac ++++ b/libgomp/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/libgomp/configure ++++ b/libgomp/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 |