aix shared library build

Signed-off-by: Rohan Mars <code@rohanmars.com>
This commit is contained in:
Rohan Mars 2015-11-25 18:30:31 -05:00
parent 8789eb9d49
commit b96c7e6383
2 changed files with 5 additions and 1 deletions

View File

@ -91,6 +91,10 @@ Building Ceph
export CXXFLAGS="-I/opt/freeware/include -I<pathtoboost>/boost_1_59_0"
./autogen.sh
Then manually modify the config.guess
- *:AIX:*:[456])
+ *:AIX:*:[4567])
./configure --disable-server --without-fuse --without-tcmalloc --without-libatomic-ops --without-libaio --without-libxfs
cd src
gmake librados.la

View File

@ -156,7 +156,7 @@ if LINUX
AM_LDFLAGS += -Wl,--as-needed $(HARDENING_LDFLAGS)
endif
if AIX
AM_LDFLAGS += -Wl,-brtl -Wl,-bexpfull
AM_LDFLAGS += -Wl,-brtl
endif
if USE_BOOST_SPIRIT_OLD_HDR