diff options
author | Hallvard B Furuseth <h.b.furuseth@usit.uio.no> | 1997-04-09 00:00:00 +0000 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-04-15 00:00:00 +1200 |
commit | 81d89818b14a58709196b737cc40cc7e9778b89d (patch) | |
tree | 0454fa38797c78faafbeb54f2bad2c17a72ab903 /Configure | |
parent | 5cc330c87f9e28573cadb3255b068abf37e4fdd2 (diff) | |
download | perl-81d89818b14a58709196b737cc40cc7e9778b89d.tar.gz |
Use '-fPIC' for debugging compiles under Solaris with gcc
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |