1 |
commit: 4217595a8c17bec873832d6c58f13c7da6b6f997 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 10 00:59:47 2017 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 10 01:48:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4217595a |
7 |
|
8 |
sys-process/audit: set up build env vars #549608 |
9 |
|
10 |
sys-process/audit/audit-2.6.4.ebuild | 8 ++++++++ |
11 |
1 file changed, 8 insertions(+) |
12 |
|
13 |
diff --git a/sys-process/audit/audit-2.6.4.ebuild b/sys-process/audit/audit-2.6.4.ebuild |
14 |
index b6180c2003..34c881cdfd 100644 |
15 |
--- a/sys-process/audit/audit-2.6.4.ebuild |
16 |
+++ b/sys-process/audit/audit-2.6.4.ebuild |
17 |
@@ -97,6 +97,14 @@ multilib_src_configure() { |
18 |
fi |
19 |
} |
20 |
|
21 |
+src_configure() { |
22 |
+ tc-export_build_env BUILD_{CC,CPP} |
23 |
+ export CC_FOR_BUILD="${BUILD_CC}" |
24 |
+ export CPP_FOR_BUILD="${BUILD_CPP}" |
25 |
+ |
26 |
+ multilib-minimal_src_configure |
27 |
+} |
28 |
+ |
29 |
multilib_src_compile() { |
30 |
if multilib_is_native_abi; then |
31 |
default |