diff options
-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" ;; |