patches/gcc/4.4.5/180-libgomp-no-werror.patch
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:41:35 2011 +0200 (2011-08-22)
branch1.12
changeset 2636 d53c6d529923
permissions -rw-r--r--
configure: fix --with-prog=[...]

check_for didn't set variable 'where' when the path to a prog
was passed manually "(cached)".

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from b1be254591e7b524a0b06a2247a9331ebe0faf1d)
     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.