You receive this bug because this package does not respect my system's CC ( x86_64-pc-linux-gnu-gcc - /usr/bin/x86_64-pc-linux-gnu-gcc ) and calls directly gcc -/usr/bin/gcc The possible solutions to fix this issue are: 1)Fix the buildsystem, if you can 2)inherit toolchain-funcs and use tc-export CC 3)inherit toolchain-funcs and use emake CC="$(tc-getCC)" Note: CC is unsrespected at link time: gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu ./make-imglib.c -o make-imglib -lpng -lz gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu ./text2c.c -o text2c -lpng -lz
Created attachment 334448 [details, diff] ace-1.4-CC.patch
+ 04 Jan 2013; Julian Ospald <hasufell@gentoo.org> ace-1.4.ebuild, + +files/ace-1.4-CC.patch, +files/ace-1.4-clang.patch: + fix bug 450164 and bug 450270