patches/gcc/4.4.2/180-libgomp-no-werror.patch
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:26:02 2011 +0200 (2011-08-22)
changeset 2630 f86af11138ea
parent 1544 2228ea3f6b79
permissions -rw-r--r--
debug/ltrace: Fix HOST_OS and ar

HOST_OS really is the target OS. Allow setting it for configure
via an environment variable.
libltrace.a should have an index:
Allow ar to be set as an environment variable, and generate
an index in this lib.

Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net>
Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
     1 diff -durN gcc-4.4.0.orig/libgomp/configure gcc-4.4.0/libgomp/configure
     2 --- gcc-4.4.0.orig/libgomp/configure	2009-04-21 11:08:08.000000000 +0200
     3 +++ gcc-4.4.0/libgomp/configure	2009-05-27 21:38:19.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.