From: H.Merijn Brand Date: Fri, 30 Jun 2006 13:17:59 +0000 (+0000) Subject: Solaris' sh doesn't like empty if's X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=86c5d995f6ffb0e2543edef6c652cde2171570df;p=p5sagit%2Fp5-mst-13.2.git Solaris' sh doesn't like empty if's p4raw-id: //depot/perl@28458 --- diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index ea6d897..4eb2c72 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -556,12 +556,13 @@ EOM ccflags="$ccflags -mcpu=v9" fi ccflags="$ccflags -m64" - if test $processor = sparc -a X`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null` != X; then - # This adds in -Wa,-xarch=v9. I suspect that's superfluous, - # since the -m64 above should do that already. Someone - # with gcc-3.x.x, please test with gcc -v. A.D. 20-Nov-2003 - # ccflags="$ccflags -Wa,`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`" - fi + + # This adds in -Wa,-xarch=v9. I suspect that's superfluous, + # since the -m64 above should do that already. Someone + # with gcc-3.x.x, please test with gcc -v. A.D. 20-Nov-2003 +# if test $processor = sparc -a X`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null` != X; then +# ccflags="$ccflags -Wa,`getconf XBS5_LP64_OFF64_CFLAGS 2>/dev/null`" +# fi ldflags="$ldflags -m64" lddlflags="$lddlflags -G -m64" ;;