Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 536102

Summary: dev-util/ext4_utils-4.4.4.1 does not respect CC
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: [OLD] DevelopmentAssignee: Jauhien Piatlicki (RETIRED) <jauhien>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Nikoli 2015-01-09 11:23:23 UTC
>>> 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.
Comment 1 Ted Tanberry 2015-02-01 17:58:56 UTC
--- 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
+}
Comment 2 Jauhien Piatlicki (RETIRED) gentoo-dev 2015-07-20 17:33:15 UTC
Removed from the tree.