Author: glen                         Date: Wed Sep 19 16:42:51 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixes -m32 error that gcc doesn't recognize

---- Files affected:
SOURCES:
   squid-ppc-m32.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/squid-ppc-m32.patch
diff -u /dev/null SOURCES/squid-ppc-m32.patch:1.1
--- /dev/null   Wed Sep 19 18:42:51 2007
+++ SOURCES/squid-ppc-m32.patch Wed Sep 19 18:42:46 2007
@@ -0,0 +1,14 @@
+--- squid-2.6.STABLE16/configure.in~   2007-09-19 16:30:59.000000000 +0000
++++ squid-2.6.STABLE16/configure.in    2007-09-19 16:31:03.000000000 +0000
+@@ -1085,9 +1085,9 @@
+           echo "ERROR: Build environment $buildmodel not known to getconf."
+           exit 1
+       fi
+-      CFLAGS="`getconf ${buildmodel}_CFLAGS` $CFLAGS"
++      CFLAGS="`getconf ${buildmodel}_CFLAGS | sed -e 's,-m32,,'` $CFLAGS"
+       LIBS="`getconf ${buildmodel}_LIBS` $LIBS"
+-      LDFLAGS="`getconf ${buildmodel}_LDFLAGS` $LDFLAGS"
++      LDFLAGS="`getconf ${buildmodel}_LDFLAGS | sed -e 's,-m32,,'` $LDFLAGS"
+       case "$host" in
+ dnl
+ dnl On Solaris getconf returns for CFLAGS -Xa and -Usun options, but:
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to