]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Reinhard Sojka <reinhard.sojka@parlament.gv.at>
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 17 Jan 2009 02:48:14 +0000 (15:48 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 17 Jan 2009 02:48:14 +0000 (15:48 +1300)
Bug 2533: Solaris (sparc) with gcc/g++ doe not accept -xarch=generic64

configure.in

index 7a4f98496d0773de7db6a8086b9f1118f8508803..621d835d55fd6a46d0514cabbcfad05b16a9b6b9 100644 (file)
@@ -1210,11 +1210,12 @@ dnl   For gcc "-xarch=generic64" must be replaced with "-m64"
 dnl   The 'sun' define is needed by ipfilter includes, so we must remove "-Usun"
            *-solaris*)
                if test "$GCC" = "yes"; then
-                   echo "Removing -Xa for gcc on $host"
+                   echo "Removing -Xa for gcc/g++ on $host"
                    CFLAGS="`echo $CFLAGS | sed -e 's/-Xa//'`"
                    CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-Xa//'`"
-                   echo "Replacing -xarch=generic64 with -m64 for gcc on $host"
+                   echo "Replacing -xarch=generic64 with -m64 for gcc/g++ on $host"
                    CFLAGS="`echo $CFLAGS | sed -e 's/-xarch=generic64/-m64/'`"
+                   CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-xarch=generic64/-m64/'`"
                    LDFLAGS="`echo $LDFLAGS | sed -e 's/-xarch=generic64//'`"
                fi
                echo "Removing -Usun on $host"