Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475732 - media-sound/gsm : does not respect CC
Summary: media-sound/gsm : does not respect CC
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo Sound Team
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-07-04 11:10 UTC by Agostino Sarubbo
Modified: 2013-10-10 21:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-07-04 11:10:24 UTC
You receive this bug because this package does not respect my system's CC (x86_64-pc-linux-gnu-gcc) and calls directly /usr/bin/gcc(or similar)
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)"

From the build log:

gcc -ansi -pedantic -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu  -o ./bin/toast ./src/toast.o ./src/toast_lin.o ./src/toast_ulaw.o ./src/toast_alaw.o ./src/toast_audio.o 
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2013-10-10 21:12:25 UTC
I see tc-getCC used in 1.0.13-r1; it was fixed as part of a multilib port.