summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-06-18 09:56:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:36 -0500
commit0f14e3eb8dfda0250ed8af6deffdc41154331eee (patch)
tree66ecc3b2d8447e1fd46b6292c12a54121cde4e2d
parent8961048d2450e01fd44d33d2c514775b071064e0 (diff)
downloadsamba-0f14e3eb8dfda0250ed8af6deffdc41154331eee.tar.gz
samba-0f14e3eb8dfda0250ed8af6deffdc41154331eee.tar.bz2
samba-0f14e3eb8dfda0250ed8af6deffdc41154331eee.zip
r16340: Commit Bjoern's fix for the AIX PIC suffix. 'make test' still does the first
tests, and vfstest is still able to load modules. Looks like this is ok :-) Volker (This used to be commit c08bfdf87a1368a5d6c9a58ddb8ba379d969941d)
-rw-r--r--source3/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index e5a6a99f0e..9dce9e0e2c 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1719,6 +1719,9 @@ if test "$enable_shared" = "yes"; then
LDSHFLAGS="-Wl,-G,-bexpall"
DYNEXP="-Wl,-brtl,-bexpall,-bbigtoc"
PICFLAGS="-O2"
+ # as AIX code is always position independent...
+ # .po will just create compile warnings, use .o:
+ PICSUFFIX="o"
if test "${GCC}" != "yes"; then
## for funky AIX compiler using strncpy()
CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000"