aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/16_all_libgomp-Werror.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-12 15:56:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-12 15:56:45 +0000
commit3e800bf8214c23fd8ebce936f9f846949750034e (patch)
tree057e4560c6198189f98f6c2829a1549a7fb45c16 /main/gcc/16_all_libgomp-Werror.patch
parent0a61db5bf5537be193aada0990fcdd355ebc264d (diff)
downloadaports-3e800bf8214c23fd8ebce936f9f846949750034e.tar.bz2
aports-3e800bf8214c23fd8ebce936f9f846949750034e.tar.xz
main/gcc: upgrade to 4.8.1
TODO: fix gcc-go
Diffstat (limited to 'main/gcc/16_all_libgomp-Werror.patch')
-rw-r--r--main/gcc/16_all_libgomp-Werror.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/gcc/16_all_libgomp-Werror.patch b/main/gcc/16_all_libgomp-Werror.patch
new file mode 100644
index 0000000000..d6a355d67a
--- /dev/null
+++ b/main/gcc/16_all_libgomp-Werror.patch
@@ -0,0 +1,17 @@
+libgomp does not respect --disable-werror
+
+https://bugs.gentoo.org/229059
+http://gcc.gnu.org/PR38436
+
+
+--- a/libgomp/configure
++++ b/libgomp/configure
+@@ -4282,7 +4282,7 @@ 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
+
+ # Find other programs we need.