summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-06-12 12:35:28 +0200
committerVolker Lendecke <vl@samba.org>2008-06-12 13:17:37 +0200
commit67f3ee618b2ae4968f2afadbf9b69174c7f7feb7 (patch)
treedc05d113c95447226e2b533c94f4305bf2112704
parent49a81672d232b9276bd255767baa684ffd66bd3f (diff)
downloadsamba-67f3ee618b2ae4968f2afadbf9b69174c7f7feb7.tar.gz
samba-67f3ee618b2ae4968f2afadbf9b69174c7f7feb7.tar.bz2
samba-67f3ee618b2ae4968f2afadbf9b69174c7f7feb7.zip
Add -brtl to the AIX linker flags
Thanks to William Jojo (cherry picked from commit 74b195b54416d9e3eb46079a71eed31a15c7293a) (This used to be commit 5ffad12d68288eca4756519ec7ab90995a277517)
-rw-r--r--source3/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 8c00d39d73..358d9da7b7 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1618,7 +1618,9 @@ DSO_EXPORTS=""
;;
*aix*) AC_DEFINE(AIX,1,[Whether the host os is aix])
BLDSHARED="true"
- LDSHFLAGS="-Wl,-G,-bexpfull,-bbigtoc"
+ # use expfull to export underscored symbols
+ # add rtl to remove /lib/crt0.o warning
+ LDSHFLAGS="-Wl,-G,-bexpfull,-bbigtoc,-brtl"
DYNEXP="-Wl,-brtl,-bexpfull,-bbigtoc"
PICFLAG="-O2"
# as AIX code is always position independent...