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

Bug 486472

Summary: media-libs/mesa : does not respect CXX
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED WORKSFORME    
Severity: QA CC: nikoli
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-29 10:52:42 UTC
You receive this bug because this package does not respect my system's CXX (x86_64-pc-linux-gnu-g++) and calls directly /usr/bin/g++(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 CXX
3)inherit toolchain-funcs and use emake CXX="$(tc-getCXX)"


From the build log:

checking for g++... g++

It does some tests in the configure phase with g++ instead of $CXX, check the CC stuff too.
Comment 1 Matt Turner gentoo-dev 2014-09-23 17:00:10 UTC
I just configured Mesa with CXX=x86_64-pc-linux-gnu-g++-4.8.2 and didn't see any evidence of this.