projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5cc330c
)
Use '-fPIC' for debugging compiles under Solaris with gcc
Hallvard B Furuseth [Wed, 9 Apr 1997 00:00:00 +0000 (
00:00
+0000)]
Configure
patch
|
blob
|
blame
|
history
diff --git
a/Configure
b/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