summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2017-11-01 21:05:49 -0400
committerAnthony G. Basile <blueness@gentoo.org>2017-11-01 21:07:11 -0400
commit8946b320785d19ebc66ebece3ed47077e56d7c3c (patch)
tree7b94be4d63d0e2dc8994ca60e9d341791f80a7ed /sys-libs/musl/musl-9999.ebuild
parentdev-php/composer: remove old version 1.5.1. (diff)
downloadgentoo-8946b320785d19ebc66ebece3ed47077e56d7c3c.tar.gz
gentoo-8946b320785d19ebc66ebece3ed47077e56d7c3c.tar.bz2
gentoo-8946b320785d19ebc66ebece3ed47077e56d7c3c.zip
sys-libs/musl: version bump to 1.1.18, drop 1.1.17
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sys-libs/musl/musl-9999.ebuild')
-rw-r--r--sys-libs/musl/musl-9999.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild
index 4b53b12d810a..9e0e184d6562 100644
--- a/sys-libs/musl/musl-9999.ebuild
+++ b/sys-libs/musl/musl-9999.ebuild
@@ -72,9 +72,11 @@ src_compile() {
just_headers && return 0
emake
- $(tc-getCC) ${CFLAGS} "${DISTDIR}"/getconf.c -o "${T}"/getconf || die
- $(tc-getCC) ${CFLAGS} "${DISTDIR}"/getent.c -o "${T}"/getent || die
- $(tc-getCC) ${CFLAGS} "${DISTDIR}"/iconv.c -o "${T}"/iconv || die
+ if [[ ${CATEGORY} != cross-* ]] ; then
+ $(tc-getCC) ${CFLAGS} "${DISTDIR}"/getconf.c -o "${T}"/getconf || die
+ $(tc-getCC) ${CFLAGS} "${DISTDIR}"/getent.c -o "${T}"/getent || die
+ $(tc-getCC) ${CFLAGS} "${DISTDIR}"/iconv.c -o "${T}"/iconv || die
+ fi
}
src_install() {