patches/gcc/4.4.2/180-libgomp-no-werror.patch
author Joachim Nilsson <jocke@vmlinux.org>
Wed Jan 06 15:04:38 2010 +0100 (2010-01-06)
changeset 1693 5cf9544bcea1
parent 1544 2228ea3f6b79
permissions -rw-r--r--
cc/gcc: add patch to fix armeb in gcc-4.4

On x86, gcc-4.4.x breaks when building for target armeb.
It is still required to configure with: --disable-shared

Note: if building on an x86_64, there is no need to pass --disable-shared
yann@1393
     1
diff -durN gcc-4.4.0.orig/libgomp/configure gcc-4.4.0/libgomp/configure
yann@1393
     2
--- gcc-4.4.0.orig/libgomp/configure	2009-04-21 11:08:08.000000000 +0200
yann@1393
     3
+++ gcc-4.4.0/libgomp/configure	2009-05-27 21:38:19.000000000 +0200
yann@1393
     4
@@ -3334,7 +3334,7 @@
yann@1393
     5
 
yann@1393
     6
 # Add -Wall -Werror if we are using GCC.
yann@1393
     7
 if test "x$GCC" = "xyes"; then
yann@1393
     8
-  XCFLAGS="$XCFLAGS -Wall -Werror"
yann@1393
     9
+  XCFLAGS="$XCFLAGS -Wall"
yann@1393
    10
 fi
yann@1393
    11
 
yann@1393
    12
 # Find other programs we need.