diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/patchelf/patchelf-0.10.ebuild | 6 | ||||
-rw-r--r-- | dev-util/patchelf/patchelf-0.8.ebuild | 6 |
2 files changed, 10 insertions, 2 deletions
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" } |