From: Jarkko Hietaniemi Date: Tue, 22 Feb 2000 14:31:21 +0000 (+0000) Subject: Tru64 V5.0 patches from Spider Boardman. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=baa8820ae0cbed603563b58fc57ad147b17f1f3b;p=p5sagit%2Fp5-mst-13.2.git Tru64 V5.0 patches from Spider Boardman. p4raw-id: //depot/cfgperl@5200 --- diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh index 5eb7e80..e5970ff 100644 --- a/hints/dec_osf.sh +++ b/hints/dec_osf.sh @@ -151,7 +151,7 @@ case "`uname -r`" in *) if $test "X$optimize" = "X$undef"; then lddlflags="$lddlflags -msym" else - case "`sizer -v`" in + case "`/usr/sbin/sizer -v`" in *4.0D*) # QAR 56761: -O4 + .so may produce broken code, # fixed in 4.0E or better. @@ -162,7 +162,7 @@ case "`uname -r`" in esac # -msym: If using a sufficiently recent /sbin/loader, # keep the module symbols with the modules. - lddlflags="$lddlflags -msym" + lddlflags="$lddlflags -msym -std" fi ;; esac @@ -202,7 +202,16 @@ esac # please adjust this appropriately. See also pp_sys.c just before the # emulate_eaccess(). +# Fixed in V5.0A. +case "`/usr/sbin/sizer -v`" in +*5.0[A-Z]*|*[6-9].[0-9]*) + : ok + ;; +*) +# V5.0 or previous pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"' + ;; +esac # The off_t is already 8 bytes, so we do have largefileness. @@ -225,7 +234,11 @@ $define|true|[yY]*) *) libswanted="$libswanted pthread exc" ;; esac - usemymalloc='n' + case "$usemymalloc" in + '') + usemymalloc='n' + ;; + esac ;; esac EOCBU