git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b258c5f
)
try to get PICFLAG right for HP-UX with gcc
author
Andrew Tridgell
<tridge@samba.org>
Tue, 9 Jun 2009 04:18:58 +0000
(14:18 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 9 Jun 2009 04:18:58 +0000
(14:18 +1000)
lib/replace/libreplace_ld.m4
patch
|
blob
|
history
diff --git
a/lib/replace/libreplace_ld.m4
b/lib/replace/libreplace_ld.m4
index 6a99e9665329ddf11848c5b66843d8a828d30ff3..8ab5e78765ec73d3805755db6d29913fc4299bef 100644
(file)
--- a/
lib/replace/libreplace_ld.m4
+++ b/
lib/replace/libreplace_ld.m4
@@
-71,13
+71,12
@@
case "$host_os" in
PICFLAG="-O2"
;;
*hpux*)
- if test $ac_cv_prog_cc_Ae = yes; then
- PICFLAG="+z +ESnolit"
- elif test "${GCC}" = "yes"; then
+ if test "${GCC}" = "yes"; then
PICFLAG="-fPIC"
- fi
- if test "$host_cpu" = "ia64"; then
- PICFLAG="+z"
+ elif test "$host_cpu" = "ia64"; then
+ PICFLAG="+z"
+ elif test $ac_cv_prog_cc_Ae = yes; then
+ PICFLAG="+z +ESnolit"
fi
;;
*osf*)