summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-03-07 13:49:21 -0500
committerMike Frysinger <vapier@gentoo.org>2016-03-07 13:51:24 -0500
commitab5ce7bcaa87a4cfde8410a23873e3247de70e48 (patch)
treea7797cc4e5e5d8debdb8218ebbce9e5b795e4b58 /dev-libs/iniparser
parentdev-libs/iniparser: fix LFS handling #471102 (diff)
downloadgentoo-ab5ce7bcaa87a4cfde8410a23873e3247de70e48.tar.gz
gentoo-ab5ce7bcaa87a4cfde8410a23873e3247de70e48.tar.bz2
gentoo-ab5ce7bcaa87a4cfde8410a23873e3247de70e48.zip
dev-libs/iniparser: respect AR settings
Diffstat (limited to 'dev-libs/iniparser')
-rw-r--r--dev-libs/iniparser/iniparser-4.0.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/dev-libs/iniparser/iniparser-4.0.ebuild b/dev-libs/iniparser/iniparser-4.0.ebuild
index aec1641675ce..74bf0d2531a0 100644
--- a/dev-libs/iniparser/iniparser-4.0.ebuild
+++ b/dev-libs/iniparser/iniparser-4.0.ebuild
@@ -44,8 +44,16 @@ src_configure() {
append-lfs-flags
}
+_emake() {
+ emake CC="$(tc-getCC)" AR="$(tc-getAR)" V=1 "$@"
+}
+
src_compile() {
- emake CC="$(tc-getCC)" V=1
+ _emake
+}
+
+src_test() {
+ _emake -C test
}
src_install() {
@@ -69,7 +77,3 @@ src_install() {
dodoc "${DOCS[@]}"
}
-
-src_test() {
- emake -C test CC="$(tc-getCC)" V=1
-}