]> 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)
committerPeter O'Gorman <peter@pogma.com>
Wed, 22 Aug 2012 01:14:55 +0000 (20:14 -0500)
* m4/libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX.

m4/libtool.m4

index cf70c18a6fb42bcebf51591dc46f4b2e46ce5f9e..cce6f5db01189563e73fbad0c69c280bef55d96d 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*)