public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/native-cctools/files/aix-2/
@ 2018-05-15 17:15 Michael Haubenwallner
  0 siblings, 0 replies; only message in thread
From: Michael Haubenwallner @ 2018-05-15 17:15 UTC (permalink / raw
  To: gentoo-commits

commit:     f7f7d26f874d75aaed7774f93ce9d43e57928d19
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Tue May 15 10:17:58 2018 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Tue May 15 17:15:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7f7d26f

sys-devel/native-cctools: accept -rpath in aix ld

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-devel/native-cctools/files/aix-2/ld | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sys-devel/native-cctools/files/aix-2/ld b/sys-devel/native-cctools/files/aix-2/ld
index 7477f11cf6e..8f9841ef32e 100644
--- a/sys-devel/native-cctools/files/aix-2/ld
+++ b/sys-devel/native-cctools/files/aix-2/ld
@@ -1,5 +1,5 @@
 #! /usr/bin/env /bin/ksh
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2018 Gentoo Foundation; Distributed under the GPL v2
 
 # Upon '-soname' and similar flags, create a "shared library" on AIX being an
 # archive file containing an Import File and the shared object file, as in:
@@ -29,6 +29,11 @@ while [[ $# -gt 0 ]]
 do
 	arg=$1
 	shift
+	case ${arg} in
+	-rpath=*)
+		arg="-R${arg#-rpath=}"
+	;;
+	esac
 	oldargs="${oldargs} '${arg}'"
 	case ${arg} in
 	-o)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-15 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-15 17:15 [gentoo-commits] repo/gentoo:master commit in: sys-devel/native-cctools/files/aix-2/ Michael Haubenwallner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox