1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

OK, I think I have fscking IRIX figured out for building PIC code.

You have to check which fsking compiler is used and do different things!
(This used to be commit f38b5ba1946327714e1c9cc3ff91b0063906bd9c)
This commit is contained in:
Richard Sharpe 2001-07-23 07:18:03 +00:00
parent cb6e6acb8d
commit 36d3a9d5dd

View File

@ -641,7 +641,11 @@ case "$host_os" in
ATTEMPT_WRAP32_BUILD=yes
BLDSHARED="true"
LDSHFLAGS="-Wl,-soname,\$@ -shared"
PICFLAG="-KPIC"
if test "${ac_cv_prog_CC}" = "gcc"; then
PICFLAG="-fPIC"
else
PICFLAG="-KPIC"
fi
;;
*aix*) AC_DEFINE(AIX)
BLDSHARED="true"