From: David Edelsohn Date: Wed, 22 Aug 2012 01:14:55 +0000 (-0500) Subject: AIX PIC shared library support X-Git-Tag: v2.4.2.418~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70bac1d7cc3e2c955bfd0769d448c4d818a1e2b8;p=thirdparty%2Flibtool.git AIX PIC shared library support * m4/libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX. --- diff --git a/m4/libtool.m4 b/m4/libtool.m4 index cf70c18a6..cce6f5db0 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3863,6 +3863,7 @@ m4_if([$1], [CXX], [ # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) @@ -4180,6 +4181,7 @@ m4_if([$1], [CXX], [ # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*)