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~168^2~35 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=f2a640f7e03e5dcf1510833a0e1e4991032b5f96;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 1e3cb0c33..90b81fc9e 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*)