Use '-fPIC' for debugging compiles under Solaris with gcc
Hallvard B Furuseth [Wed, 9 Apr 1997 00:00:00 +0000 (00:00 +0000)]
Configure

index 0253fdb..a813f96 100755 (executable)
--- 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