summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-08 06:30:49 +0000
committerTim Potter <tpot@samba.org>2003-09-08 06:30:49 +0000
commit66abd44c6d49d7397a1460d2a2a176fc4719c24e (patch)
tree0136039cc8ae6cd45f0744c7931fa4b748711405 /source3
parentf87bd754231387825924454836de23b9777dcaa0 (diff)
downloadsamba-66abd44c6d49d7397a1460d2a2a176fc4719c24e.tar.gz
samba-66abd44c6d49d7397a1460d2a2a176fc4719c24e.tar.bz2
samba-66abd44c6d49d7397a1460d2a2a176fc4719c24e.zip
Set PICFLAG="-fPIC" for gcc under HPUX.
(This used to be commit 7f2533207ee46fa968cf1fd31ac0cd89e1fb0bb1)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 7de941cc0c..a2e04b5d48 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1104,6 +1104,8 @@ if test "$enable_shared" = "yes"; then
LDSHFLAGS="-B symbolic -b -z"
SONAMEFLAG="+h "
PICFLAG="+z"
+ elif test "${GCC}" = "yes"; then
+ PICFLAG="-fPIC"
fi
DYNEXP="-Wl,-E"
AC_DEFINE(STAT_ST_BLOCKSIZE,8192,[The size of a block])