summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2017-02-09 19:59:47 -0500
committerMike Frysinger <vapier@gentoo.org>2017-02-09 20:48:44 -0500
commit4217595a8c17bec873832d6c58f13c7da6b6f997 (patch)
tree223dc5b4e0edc219abf0d059c2bcddd6a3401d08 /sys-process/audit
parentsys-cluster/ceph: Fix logrotate script to work for all cluster names (diff)
downloadgentoo-4217595a8c17bec873832d6c58f13c7da6b6f997.tar.gz
gentoo-4217595a8c17bec873832d6c58f13c7da6b6f997.tar.bz2
gentoo-4217595a8c17bec873832d6c58f13c7da6b6f997.zip
sys-process/audit: set up build env vars #549608
Diffstat (limited to 'sys-process/audit')
-rw-r--r--sys-process/audit/audit-2.6.4.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-process/audit/audit-2.6.4.ebuild b/sys-process/audit/audit-2.6.4.ebuild
index b6180c200394..34c881cdfd1f 100644
--- a/sys-process/audit/audit-2.6.4.ebuild
+++ b/sys-process/audit/audit-2.6.4.ebuild
@@ -97,6 +97,14 @@ multilib_src_configure() {
fi
}
+src_configure() {
+ tc-export_build_env BUILD_{CC,CPP}
+ export CC_FOR_BUILD="${BUILD_CC}"
+ export CPP_FOR_BUILD="${BUILD_CPP}"
+
+ multilib-minimal_src_configure
+}
+
multilib_src_compile() {
if multilib_is_native_abi; then
default