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

Bug 484874

Summary: net-libs/udns : does not respect CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Pavlos Ratis (RETIRED) <dastergon>
Status: RESOLVED WORKSFORME    
Severity: QA    
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-09-14 07:55:07 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 -march=native -O2 -g0 -pipe -fPIC -DHAVE_CONFIG_H -o udns_dn.lo -c udns_dn.c
Comment 1 Wolfram Schlich (RETIRED) gentoo-dev 2014-04-26 15:22:08 UTC
Works for me with 0.4.