summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2015-02-09 12:53:37 +0000
committerMichael Haubenwallner <haubi@gentoo.org>2015-02-09 12:53:37 +0000
commit529034a20b1ff575f9ae20552bd04a0a102562fb (patch)
tree1385dcabbdb93ba8b753dcaa796bc60fe1ef66ab /eclass
parentKeyword ~ppc64, bug #452010. (diff)
downloadhistorical-529034a20b1ff575f9ae20552bd04a0a102562fb.tar.gz
historical-529034a20b1ff575f9ae20552bd04a0a102562fb.tar.bz2
historical-529034a20b1ff575f9ae20552bd04a0a102562fb.zip
ELT-patches/aixrtl: Need -fPIC on AIX since gcc-4.8 or so.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/ELT-patches/aixrtl/2.0.0-fpic-c12
-rw-r--r--eclass/ELT-patches/aixrtl/2.0.0-fpic-cxx12
3 files changed, 29 insertions, 1 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 0e427cef47a6..946ba0661d85 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1523 2015/02/08 22:03:56 grknight Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1524 2015/02/09 12:53:37 haubi Exp $
+
+ 09 Feb 2015; Michael Haubenwallner <haubi@gentoo.org>
+ +ELT-patches/aixrtl/2.0.0-fpic-c, +ELT-patches/aixrtl/2.0.0-fpic-cxx:
+ Need -fPIC on AIX since gcc-4.8 or so.
08 Feb 2015; Brian Evans <grknight@gentoo.org> mysql-multilib.eclass:
Fix dependency on ncurses for bug 539354 and restructure to remove user
diff --git a/eclass/ELT-patches/aixrtl/2.0.0-fpic-c b/eclass/ELT-patches/aixrtl/2.0.0-fpic-c
new file mode 100644
index 000000000000..bb3cb42bbee3
--- /dev/null
+++ b/eclass/ELT-patches/aixrtl/2.0.0-fpic-c
@@ -0,0 +1,12 @@
+--- configure
++++ configure
+@@ -1,6 +1,9 @@
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
++ lt_prog_compiler_pic='-fPIC'
++ else
++ lt_prog_compiler_pic='-fPIC'
+ fi
+ ;;
+
diff --git a/eclass/ELT-patches/aixrtl/2.0.0-fpic-cxx b/eclass/ELT-patches/aixrtl/2.0.0-fpic-cxx
new file mode 100644
index 000000000000..532bbcf421e4
--- /dev/null
+++ b/eclass/ELT-patches/aixrtl/2.0.0-fpic-cxx
@@ -0,0 +1,12 @@
+--- configure
++++ configure
+@@ -1,6 +1,9 @@
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
++ lt_prog_compiler_pic_CXX='-fPIC'
++ else
++ lt_prog_compiler_pic_CXX='-fPIC'
+ fi
+ ;;
+