From f2a640f7e03e5dcf1510833a0e1e4991032b5f96 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 21 Aug 2012 20:14:55 -0500 Subject: [PATCH] AIX PIC shared library support * m4/libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX. --- m4/libtool.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 1e3cb0c3..90b81fc9 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*)