diff options
author | Brian Jepson <bjepson@oreilly.com> | 1999-08-20 06:25:17 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-10-11 21:25:03 +0000 |
commit | 7cd1f58aa894cece69e90e235bde383c789bb541 (patch) | |
tree | ad7b9290ac2f92e9201fccb4c1660ef9f5515253 /hints/linux.sh | |
parent | 6943c00c22ec6e1f4b4e47689974cbd56a704805 (diff) | |
download | perl-7cd1f58aa894cece69e90e235bde383c789bb541.tar.gz |
Sparc Linux -Duseshrplib fix.
To: Nick Ing-Simmons <nick@ing-simmons.net>
cc: perl5-porters@perl.org
Subject: Re: [ID 19990813.002] Can't build Perl 5.005_60 on SPARC/Linux with -Duseshrplib
Message-ID: <Pine.LNX.4.10.9908201123570.5116-100000@cx384756-a.sking1.ri.home.com>
p4raw-id: //depot/cfgperl@4347
Diffstat (limited to 'hints/linux.sh')
-rw-r--r-- | hints/linux.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/linux.sh b/hints/linux.sh index c1172caba2..e9af509ab5 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -258,6 +258,15 @@ fi #'osfmach3ppc') ccdlflags='-Wl,-E' ;; #esac +case "`uname -r`" in +sparc-linux) + case "$cccdlflags" in + *-fpic*) cccdlflags="`echo $cccdlflags|sed 's/-fpic/-fPIC/'`" ;; + *) cccdlflags="$cccdlflags -fPIC" ;; + esac + ;; +esac + # This script UU/usethreads.cbu will get 'called-back' by Configure # after it has prompted the user for whether to use threads. cat > UU/usethreads.cbu <<'EOCBU' |