From: James Le Cuirot Date: Fri, 3 May 2019 20:44:09 +0000 (+0100) Subject: dev-util/patchelf: Reduce test fails by building tests with -no-pie X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=856213bc1a54ef26fb82b1b796f6247c1e8f11bb;p=gentoo.git dev-util/patchelf: Reduce test fails by building tests with -no-pie Now 0.8 passes and 0.10 has one 1 failure. Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: James Le Cuirot --- diff --git a/dev-util/patchelf/patchelf-0.10.ebuild b/dev-util/patchelf/patchelf-0.10.ebuild index dfc0d88d15f9..36271cd5f471 100644 --- a/dev-util/patchelf/patchelf-0.10.ebuild +++ b/dev-util/patchelf/patchelf-0.10.ebuild @@ -22,3 +22,9 @@ src_prepare() { eautoreconf } + +src_test() { + emake check \ + CFLAGS+=" -no-pie" \ + CXXFLAGS+=" -no-pie" +} diff --git a/dev-util/patchelf/patchelf-0.8.ebuild b/dev-util/patchelf/patchelf-0.8.ebuild index 92c86cecf1a4..369a698a0395 100644 --- a/dev-util/patchelf/patchelf-0.8.ebuild +++ b/dev-util/patchelf/patchelf-0.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -32,5 +32,7 @@ src_configure() { } src_test() { - autotools-utils_src_test -j1 + autotools-utils_src_test -j1 \ + CFLAGS+=" -no-pie" \ + CXXFLAGS+=" -no-pie" }