summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-18 09:20:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:38 -0500
commit23026646e162415bb028e2526cb837a9d4d027b9 (patch)
tree5862849c3a94dd27482b9b41f564734e9adc9d51
parentac5cd254fa96601a9fb5682cb99faed65dd4e4cd (diff)
downloadsamba-23026646e162415bb028e2526cb837a9d4d027b9.tar.gz
samba-23026646e162415bb028e2526cb837a9d4d027b9.tar.bz2
samba-23026646e162415bb028e2526cb837a9d4d027b9.zip
r22996: merge HPUX compiler flag fixes from SAMBA_3_0
metze (This used to be commit 9a9376d902bd946e6613ff9d3c37b344dfd207cf)
-rw-r--r--source4/build/m4/check_ld.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/m4/check_ld.m4 b/source4/build/m4/check_ld.m4
index a86be25ed4..8e0a709a3a 100644
--- a/source4/build/m4/check_ld.m4
+++ b/source4/build/m4/check_ld.m4
@@ -121,13 +121,14 @@ case "$host_os" in
BLDSHARED="true"
SHLD_FLAGS="-b -Wl,-B,symbolic,-b,-z"
SONAMEFLAG="-Wl,+h "
- PICFLAG="+z"
+ PICFLAG="+z +ESnolit"
elif test "${GCC}" = "yes"; then
BLDSHARED="true" # I hope this is correct
PICFLAG="-fPIC"
fi
if test "$host_cpu" = "ia64"; then
SHLIBEXT="so"
+ PICFLAG="+z"
LDFLAGS="$LDFLAGS -Wl,-E,+b/usr/local/lib/hpux32:/usr/lib/hpux32"
else
SHLIBEXT="sl"