git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c994d
)
Add -brtl to the AIX linker flags
author
Volker Lendecke
<vl@samba.org>
Thu, 12 Jun 2008 10:35:28 +0000
(12:35 +0200)
committer
Volker Lendecke
<vl@samba.org>
Thu, 12 Jun 2008 10:35:28 +0000
(12:35 +0200)
Thanks to William Jojo
source/configure.in
patch
|
blob
|
history
diff --git
a/source/configure.in
b/source/configure.in
index e015f9e8626f8c3703fddb126c2987615d1c2e08..9d247ad67ed5e851d9d16c9bbd3f1ad215d72b48 100644
(file)
--- a/
source/configure.in
+++ b/
source/configure.in
@@
-1600,7
+1600,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...