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)" checking for gcc... gcc checking whether gcc accepts -g... yes
It's not respected only on configure stage. Anyway, fixed now: + 03 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> -scope-0.04.ebuild, + scope-0.04-r1.ebuild: + Respect CC on configure stage too, wrt bug #459848. Drop old revision