dev-libs/9libs: Set CC in src_configure not src_compile
authorJeroen Roovers <jer@gentoo.org>
Sun, 13 Jan 2019 22:48:38 +0000 (23:48 +0100)
committerJeroen Roovers <jer@gentoo.org>
Mon, 14 Jan 2019 00:04:53 +0000 (01:04 +0100)
Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
dev-libs/9libs/9libs-1.0-r3.ebuild

index 73ca0aa074dc2653399c90cd7a0cc31128126337..22450aa79dbff4bee9da342839d1e7dbdbe2d0e2 100644 (file)
@@ -25,15 +25,12 @@ src_prepare() {
 }
 
 src_configure() {
+       tc-export CC
        econf \
                --includedir=/usr/include/9libs \
                --enable-shared
 }
 
-src_compile() {
-       emake CC="$(tc-getCC)"
-}
-
 src_install() {
        make install DESTDIR="${D}"
        dodoc README