diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-11-08 13:48:05 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-11-08 13:48:05 +0000 |
commit | fc6a158ef8188e59c20fca46539d098705b62e93 (patch) | |
tree | 4a443c04c79af4e275e04a36e76dc337e3527be8 | |
parent | 91740131cc2929fd557448ce429399349e07f9e8 (diff) | |
download | perl-fc6a158ef8188e59c20fca46539d098705b62e93.tar.gz |
Configure hints upgrade from blead.
p4raw-id: //depot/maint-5.6/perl-5.6.2@21685
-rw-r--r-- | hints/darwin.sh | 2 | ||||
-rw-r--r-- | hints/linux.sh | 4 | ||||
-rw-r--r-- | hints/solaris_2.sh | 14 |
3 files changed, 3 insertions, 17 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh index f3e7ff9842..1d27f339ab 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -157,7 +157,7 @@ case "$osvers" in *) lddlflags="${ldflags} -bundle -undefined dynamic_lookup" case "$ld" in *MACOSX_DEVELOPMENT_TARGET*) ;; - *) ld="MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;; + *) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;; esac ;; esac diff --git a/hints/linux.sh b/hints/linux.sh index c1e1f14c49..6b2b4302f7 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -247,8 +247,8 @@ fi #'osfmach3ppc') ccdlflags='-Wl,-E' ;; #esac -case "`uname -r`" in -sparc-linux) +case "`uname -m`" in +sparc*) case "$cccdlflags" in *-fpic*) cccdlflags="`echo $cccdlflags|sed 's/-fpic/-fPIC/'`" ;; *) cccdlflags="$cccdlflags -fPIC" ;; diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 5763ee2596..965f49d62b 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -334,20 +334,6 @@ END fi fi -# Check to see if the selected compiler and linker -# support the -z ignore, -z lazyload and -z combreloc flags. -echo "int main() { return(0); } " > try.c - zflgs='' -for zf in ignore lazyload combreloc; do - if ${cc:-cc} -o try try.c -z $zf > /dev/null 2>&1; then - zflgs="$zflgs -z $zf" - fi -done -if test -n "$zflgs"; then - ccdlflags="$ccdlflags $zflgs" - lddlflags="$lddlflags -G $zflgs" -fi - # as --version or ld --version might dump core. rm -f try try.c core EOCBU |