diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2006-06-30 13:17:59 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2006-06-30 13:17:59 +0000 |
commit | 86c5d995f6ffb0e2543edef6c652cde2171570df (patch) | |
tree | 86e9c479d33d6ae4c1670e9cee7b0fe40f49214e /hints/solaris_2.sh | |
parent | ed6c66dd09fbfa492035c1c3ffab6e32232b3d6e (diff) | |
download | perl-86c5d995f6ffb0e2543edef6c652cde2171570df.tar.gz |
Solaris' sh doesn't like empty if's
p4raw-id: //depot/perl@28458
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r-- | hints/solaris_2.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index ea6d897835..4eb2c72481 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" ;; |