From: Michael Haubenwallner Date: Mon, 9 Feb 2015 12:53:37 +0000 (+0000) Subject: ELT-patches/aixrtl: Need -fPIC on AIX since gcc-4.8 or so. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=529034a20b1ff575f9ae20552bd04a0a102562fb;p=gentoo.git ELT-patches/aixrtl: Need -fPIC on AIX since gcc-4.8 or so. --- 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 + +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 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 + ;; +