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

Bug 460420

Summary: dev-qt/qt-creator does not respect CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Markos Chandras (RETIRED) <hwoarang>
Status: RESOLVED FIXED    
Severity: normal CC: pesa, qt
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-03-05 16:35:54 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 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o ../../../bin/qtcreator_process_stub .obj/release-shared/process_stub_unix.o     
-L/var/tmp/portage/dev-qt/qt-creator-2.6.2/work/qt-creator-2.6.2-src/lib64/qtcreator
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2013-03-05 19:23:21 UTC
Fixed in eqmake4.

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/qt4-r2.eclass?r1=1.24&r2=1.25