summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2012-08-21 20:14:55 -0500
committerGary V. Vaughan <gary@gnu.org>2012-10-02 21:05:13 +0700
commitf2a640f7e03e5dcf1510833a0e1e4991032b5f96 (patch)
treee6a1ffe60fb6031bbe8bdea7226fae06cd14faf8
parent90529a55ef40653051730d3c20203fa2ad5e8f7f (diff)
downloadlibtool-f2a640f7e03e5dcf1510833a0e1e4991032b5f96.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.m42
1 files changed, 2 insertions, 0 deletions
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*)