From: Jarkko Hietaniemi Date: Thu, 12 Aug 1999 19:24:14 +0000 (+0000) Subject: IRIX 64-bit hint tweak. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9c08388a87041f537787d9c32ba31cd1b1b2e826;p=p5sagit%2Fp5-mst-13.2.git IRIX 64-bit hint tweak. p4raw-id: //depot/cfgperl@3971 --- diff --git a/hints/irix_6.sh b/hints/irix_6.sh index 11d5a6e..0c61b6e 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -139,6 +139,10 @@ esac # Don't groan about unused libraries. ccflags="$ccflags -Wl,-woff,84" +case "$ld" in +*cc*) ldflags="$ldflags -Wl,-woff,84" ;; +*ld) ldflags="$ldflags -woff 84" ;; +esac # We don't want these libraries. # Socket networking is in libc, these are not installed by default, @@ -238,14 +242,14 @@ EOM esac case "$ccflags" in *-n32*) - ccflags="$ccflags -DUSE_LONG_LONG" + ccflags="$ccflags -DUSE_LONG_LONG -D__LONGLONG" archname64="-n32" d_open64="$undef" # In -n32 mode (ILP32LL64) we use the standard open(). # In -64 we will use the open64(). cat << 'EOM' >&2 -You will see a *** WHOA THERE!!! *** message from Configure for +You may see a *** WHOA THERE!!! *** message from Configure for d_open64. Keep the recommended value. See hints/irix6.sh for more information.