patches/gcc/4.4.1/180-libgomp-no-werror.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 17 23:06:02 2010 +0100 (2010-01-17)
changeset 1740 c57458bb354d
parent 1393 b432bd628b10
permissions -rw-r--r--
configure: do not require hg when configuring in an hg clone

When configuring in an hg clone, we need hg to compute the version string.
It can happen that users do not have Mercurial (eg. if they got a snapshot
rather that they did a full clone). In this case, we can still run, of
course, so simply fill the version string with a sufficiently explicit
value, that does not require hg. The date is a good candidate.
     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.