]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
AIX PIC shared library support
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 22 Aug 2012 01:14:55 +0000 (20:14 -0500)
committerGary V. Vaughan <gary@gnu.org>
Tue, 2 Oct 2012 14:05:13 +0000 (21:05 +0700)
* m4/libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX.

m4/libtool.m4

index 1e3cb0c335752cb9e4cec3f53524d0b5a8c2bb1d..90b81fc9e18c67d7cbe267b96a55971ba6901483 100644 (file)
@@ -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*)