diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2003-11-05 12:19:03 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-11-05 21:47:07 +0000 |
commit | f6527d0ef0c13ad49720ee08f79ebfa3856db3ed (patch) | |
tree | 4bedfccb984164aad32da933f8680ff51fdf35cb /hints | |
parent | d0c795901506276e696dc446752ed0b09ca418e5 (diff) | |
download | perl-f6527d0ef0c13ad49720ee08f79ebfa3856db3ed.tar.gz |
Be sure to use -fPIC not -fpic on Linux/SPARC
Message-ID: <Pine.SOL.4.53.0311051715140.24878@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@21673
Diffstat (limited to 'hints')
-rw-r--r-- | hints/linux.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hints/linux.sh b/hints/linux.sh index bc7d49ad82..437e5c94c3 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" ;; |