From 5ffad12d68288eca4756519ec7ab90995a277517 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 12 Jun 2008 12:35:28 +0200 Subject: [PATCH] Add -brtl to the AIX linker flags Thanks to William Jojo (cherry picked from commit 74b195b54416d9e3eb46079a71eed31a15c7293a) --- source/configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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... -- 2.47.3