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

Bug 446598

Summary: media-libs/nas does not respect CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=336564
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2012-12-09 13:50:12 UTC
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)"


gcc -o nasd -O2 -fno-strength-reduce -fno-strict-aliasing      -L/usr/lib64    dia/libdia.a dda/voxware/libvoxware.a os/libos.a
Comment 1 Julian Ospald 2012-12-09 16:18:34 UTC
pretty weird one

there was a non-fatal parallel make issue resulting in "make" being incomplete. It would then try to compile the rest in src_install which is bad anyway


+  09 Dec 2012; Julian Ospald <hasufell@gentoo.org> nas-1.9.3.ebuild:
+  respect CC and RANLIB wrt #446598 and #446600

ugly fix, but Imake is too weird for me, tried for almost an hour