patches/gcc/4.4.7/180-libgomp-no-werror.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Fri Nov 09 19:42:32 2012 +0100 (2012-11-09)
changeset 3104 7da91f9ba328
parent 2406 95e0c248d257
permissions -rw-r--r--
cc/gcc: fix patches for 4.6.{0,1}

Remove the sparc part, as it touches code that does not exist in
those versions of gcc (it was added at 4.6.2).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
CC: Florian Fainelli <f.fainelli@gmail.com>
     1 diff -durN gcc-4.4.5.orig/libgomp/configure gcc-4.4.5/libgomp/configure
     2 --- gcc-4.4.5.orig/libgomp/configure	2010-10-01 10:26:18.000000000 +0200
     3 +++ gcc-4.4.5/libgomp/configure	2010-10-09 23:00:33.000000000 +0200
     4 @@ -3334,7 +3334,7 @@
     5  
     6  # Add -Wall -Werror if we are using GCC.
     7  if test "x$GCC" = "xyes"; then
     8 -  XCFLAGS="$XCFLAGS -Wall -Werror"
     9 +  XCFLAGS="$XCFLAGS -Wall"
    10  fi
    11  
    12  # Find other programs we need.