aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/15_all_gcc-libgomp-no-werror.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-09-28 11:55:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-09-28 11:55:35 +0000
commit3f2e52f3c70d5d48fe46d5a163261f52bd67d437 (patch)
tree61daa4274a0319771a81030ee055a148673c7ce7 /main/gcc/15_all_gcc-libgomp-no-werror.patch
parent88fc2b618030ea5e180892038ed42405cdb52566 (diff)
downloadaports-3f2e52f3c70d5d48fe46d5a163261f52bd67d437.tar.bz2
aports-3f2e52f3c70d5d48fe46d5a163261f52bd67d437.tar.xz
main/gcc: upgrade to 4.5.1
fixes #438
Diffstat (limited to 'main/gcc/15_all_gcc-libgomp-no-werror.patch')
-rw-r--r--main/gcc/15_all_gcc-libgomp-no-werror.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/main/gcc/15_all_gcc-libgomp-no-werror.patch b/main/gcc/15_all_gcc-libgomp-no-werror.patch
new file mode 100644
index 0000000000..1c3ec3a1e5
--- /dev/null
+++ b/main/gcc/15_all_gcc-libgomp-no-werror.patch
@@ -0,0 +1,16 @@
+libgomp does not respect --disable-werror
+
+http://bugs.gentoo.org/229059
+http://gcc.gnu.org/PR38436
+
+--- gcc-4.3.2/libgomp/configure
++++ gcc-4.3.2/libgomp/configure
+@@ -3297,7 +3297,7 @@
+
+ # 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.