diff options
-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 |