commit: 3ea9779c9de7c7cea77aaff49dfd76957d2b1958 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> AuthorDate: Sat Jul 7 20:33:06 2018 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sat Jul 7 20:33:06 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ea9779c
dev-ada/gprbuild: Fix "-r and -pie may not be used together" error Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-ada/gprbuild/gprbuild-2018.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-ada/gprbuild/gprbuild-2018.ebuild b/dev-ada/gprbuild/gprbuild-2018.ebuild index f071a9a8850..95d0bdafd85 100644 --- a/dev-ada/gprbuild/gprbuild-2018.ebuild +++ b/dev-ada/gprbuild/gprbuild-2018.ebuild @@ -43,6 +43,10 @@ src_prepare() { -e "s:@GNATBIND@:gnatbind-${GCC_PV}:g" \ src/gprlib.adb \ || die + sed -i \ + -e "s:\"-Wl,-r\":\"-r\":g" \ + share/gprconfig/linker.xml \ + || die } src_configure() {