1 |
commit: 856213bc1a54ef26fb82b1b796f6247c1e8f11bb |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 3 20:44:09 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 3 20:45:01 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=856213bc |
7 |
|
8 |
dev-util/patchelf: Reduce test fails by building tests with -no-pie |
9 |
|
10 |
Now 0.8 passes and 0.10 has one 1 failure. |
11 |
|
12 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
13 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
14 |
|
15 |
dev-util/patchelf/patchelf-0.10.ebuild | 6 ++++++ |
16 |
dev-util/patchelf/patchelf-0.8.ebuild | 6 ++++-- |
17 |
2 files changed, 10 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/dev-util/patchelf/patchelf-0.10.ebuild b/dev-util/patchelf/patchelf-0.10.ebuild |
20 |
index dfc0d88d15f..36271cd5f47 100644 |
21 |
--- a/dev-util/patchelf/patchelf-0.10.ebuild |
22 |
+++ b/dev-util/patchelf/patchelf-0.10.ebuild |
23 |
@@ -22,3 +22,9 @@ src_prepare() { |
24 |
|
25 |
eautoreconf |
26 |
} |
27 |
+ |
28 |
+src_test() { |
29 |
+ emake check \ |
30 |
+ CFLAGS+=" -no-pie" \ |
31 |
+ CXXFLAGS+=" -no-pie" |
32 |
+} |
33 |
|
34 |
diff --git a/dev-util/patchelf/patchelf-0.8.ebuild b/dev-util/patchelf/patchelf-0.8.ebuild |
35 |
index 92c86cecf1a..369a698a039 100644 |
36 |
--- a/dev-util/patchelf/patchelf-0.8.ebuild |
37 |
+++ b/dev-util/patchelf/patchelf-0.8.ebuild |
38 |
@@ -1,4 +1,4 @@ |
39 |
-# Copyright 1999-2016 Gentoo Foundation |
40 |
+# Copyright 1999-2019 Gentoo Authors |
41 |
# Distributed under the terms of the GNU General Public License v2 |
42 |
|
43 |
EAPI=5 |
44 |
@@ -32,5 +32,7 @@ src_configure() { |
45 |
} |
46 |
|
47 |
src_test() { |
48 |
- autotools-utils_src_test -j1 |
49 |
+ autotools-utils_src_test -j1 \ |
50 |
+ CFLAGS+=" -no-pie" \ |
51 |
+ CXXFLAGS+=" -no-pie" |
52 |
} |