>>> Compiling source in /var/tmp/portage/dev-util/ext4_utils-4.4.4.1/work ... make -j9 cc -march=corei7-avx -O2 -pipe -I. -Iinclude -DHOST -DANDROID -fPIC -c make_ext4fs.c -o make_ext4fs.o cc -march=corei7-avx -O2 -pipe -I. -Iinclude -DHOST -DANDROID -fPIC -c ext4fixup.c -o ext4fixup.o cc -march=corei7-avx -O2 -pipe -I. -Iinclude -DHOST -DANDROID -fPIC -c ext4_utils.c -o ext4_utils.o cc -march=corei7-avx -O2 -pipe -I. -Iinclude -DHOST -DANDROID -fPIC -c allocate.c -o allocate.o cc -march=corei7-avx -O2 -pipe -I. -Iinclude -DHOST -DANDROID -fPIC -c contents.c -o contents.o cc -march=corei7-avx -O2 -pipe -I. -Iinclude -DHOST -DANDROID -fPIC -c extent.c -o extent.o cc -march=corei7-avx -O2 -pipe -I. -Iinclude -DHOST -DANDROID -fPIC -c indirect.c -o indirect.o cc -march=corei7-avx -O2 -pipe -I. -Iinclude -DHOST -DANDROID -fPIC -c uuid.c -o uuid.o cc -march=corei7-avx -O2 -pipe -I. -Iinclude -DHOST -DANDROID -fPIC -c sha1.c -o sha1.o cc -march=corei7-avx -O2 -pipe -I. -Iinclude -DHOST -DANDROID -fPIC -c wipe.c -o wipe.o ... a - src/init.o a - src/label.o a - src/label_file.o a - src/label_android_property.o cc -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -L. make_ext4fs_main.o -o make_ext4fs -lext4_utils -lsparse -lz cc -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -L. ext2simg.o -o ext2simg -lext4_utils -lsparse -lz cc -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -L. ext4fixup_main.o -o ext4fixup -lext4_utils -lsparse -lz >>> Source compiled.
--- ext4_utils-4.4.4.1.ebuild +++ ext4_utils-4.4.4.1.ebuild @@ -4,6 +4,8 @@ EAPI=5 +inherit toolchain-funcs + DESCRIPTION="Tools for Android images" HOMEPAGE="https://android.googlesource.com/platform/system/extras" SRC_URI="http://dev.gentoo.org/~jauhien/distfiles/${P}.tar.gz @@ -22,3 +24,8 @@ src_prepare() { cp "${FILESDIR}/Makefile" "${S}" } + +src_compile() { + tc-export CC AR + default +}
Removed from the tree.