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
#'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'