From: Jarkko Hietaniemi Date: Mon, 1 Apr 2002 15:38:56 +0000 (+0000) Subject: CRAY TS does not have -h rounddiv, from Keith Thompson. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6d788a80464592f21d2b471caa656a77967d6a24;p=p5sagit%2Fp5-mst-13.2.git CRAY TS does not have -h rounddiv, from Keith Thompson. p4raw-id: //depot/perl@15660 --- diff --git a/hints/unicos.sh b/hints/unicos.sh index 4290bd5..7f814a2 100644 --- a/hints/unicos.sh +++ b/hints/unicos.sh @@ -10,7 +10,10 @@ esac # Let's not do that. --jhi ccflags="$ccflags -h matherror=errno" # Give int((2/3)*3) a chance to be 2, not 1. --jhi -ccflags="$ccflags -h rounddiv" +case "`uname -m`" in +"CRAY TS") ;; # -h rounddiv not available here +*) ccflags="$ccflags -h rounddiv" ;; +esac # Avoid an optimizer bug where a volatile variables # isn't correctly saved and restored --Mark P. Lutz pp_ctl_cflags='ccflags="$ccflags -h scalar0 -h vector0"'