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

configure.in

index 52c787170ec7b18667e4bcc7df6759f547fdbf79..119898544a974286e69ca89b2dc85852c8a5b295 100644 (file)
@@ -1403,11 +1403,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"