From: Hallvard B Furuseth Date: Wed, 9 Apr 1997 00:00:00 +0000 (+0000) Subject: Use '-fPIC' for debugging compiles under Solaris with gcc X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=81d89818b14a58709196b737cc40cc7e9778b89d;p=p5sagit%2Fp5-mst-13.2.git Use '-fPIC' for debugging compiles under Solaris with gcc --- diff --git a/Configure b/Configure index 0253fdb..a813f96 100755 --- a/Configure +++ b/Configure @@ -4422,7 +4422,10 @@ EOM sunos) dflt='-pic' ;; *) dflt='none' ;; esac ;; - *) dflt='-fpic' ;; + *) case "$osname/$ccflags" in + solaris/*-DDEBUGGING*) dflt='-fPIC' ;; + *) dflt='-fpic' ;; + esac ;; esac ;; *) dflt="$cccdlflags" ;; esac