diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2012-08-21 20:14:55 -0500 |
---|---|---|
committer | Peter O'Gorman <peter@pogma.com> | 2012-08-21 20:14:55 -0500 |
commit | 70bac1d7cc3e2c955bfd0769d448c4d818a1e2b8 (patch) | |
tree | c409c5a342a89716d55051a8e5a156f19a943436 | |
parent | c03e516bd2f8e730deaf214ac7978abe429cebfe (diff) | |
download | libtool-70bac1d7cc3e2c955bfd0769d448c4d818a1e2b8.tar.gz |
AIX PIC shared library support
* m4/libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX.
-rw-r--r-- | m4/libtool.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/libtool.m4 b/m4/libtool.m4 index cf70c18a..cce6f5db 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*) |