From: Volker Lendecke Date: Thu, 12 Jun 2008 10:35:28 +0000 (+0200) Subject: Add -brtl to the AIX linker flags X-Git-Tag: samba-3.3.0pre1~937 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ffad12d68288eca4756519ec7ab90995a277517;p=thirdparty%2Fsamba.git Add -brtl to the AIX linker flags Thanks to William Jojo (cherry picked from commit 74b195b54416d9e3eb46079a71eed31a15c7293a) --- diff --git a/source/configure.in b/source/configure.in index 8c00d39d73a..358d9da7b7b 100644 --- a/source/configure.in +++ b/source/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...