]> git.pld-linux.org Git - packages/squid.git/blob - squid-ppc-m32.patch
do not use builder's CPU instruction set, leads to SIGILL on older x86_64
[packages/squid.git] / squid-ppc-m32.patch
1 --- squid-3.0.STABLE4/configure.in      2008-04-01 13:54:39.000000000 +0200
2 +++ squid-3.0.STABLE4.new/configure.in  2008-04-20 15:28:17.454985027 +0200
3 @@ -1186,10 +1186,10 @@
4             echo "ERROR: Build environment $buildmodel not known to getconf."
5             exit 1
6         fi
7 -       CFLAGS="`getconf ${buildmodel}_CFLAGS` $CFLAGS"
8 -       CXXFLAGS="`getconf ${buildmodel}_CFLAGS` $CXXFLAGS"
9 +       CFLAGS="`getconf ${buildmodel}_CFLAGS` | sed -e 's,-m32,,'` $CFLAGS"
10 +       CXXFLAGS="`getconf ${buildmodel}_CFLAGS` | sed -e 's,-m32,,'` $CXXFLAGS"
11         LIBS="`getconf ${buildmodel}_LIBS` $LIBS"
12 -       LDFLAGS="`getconf ${buildmodel}_LDFLAGS` $LDFLAGS"
13 +       LDFLAGS="`getconf ${buildmodel}_LDFLAGS | sed -e 's,-m32,,'` $LDFLAGS"
14         case "$host" in
15  dnl
16  dnl On Solaris getconf returns for CFLAGS -Xa and -Usun options, but:
This page took 0.041331 seconds and 3 git commands to generate.