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

Bug 468666

Summary: net-dialup/capi4k-utils : does not respect CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Stefan Briesenick (RETIRED) <sbriesen>
Status: RESOLVED DUPLICATE    
Severity: QA CC: net-dialup
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2013-05-05 12:06:51 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:

cc -march=native -O2 -g0 -pipe  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu  pversion.c   -o pversion
Comment 1 Sergey Popov gentoo-dev 2013-05-06 11:37:58 UTC
Both of problems have the same way of solving, so we can handle this in one bug

*** This bug has been marked as a duplicate of bug 468662 ***