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

Bug 469814

Summary: media-video/vdr : does not respect CXX
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo VDR Project <vdr>
Status: RESOLVED FIXED    
Severity: QA CC: media-tv
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-14 09:25:45 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:

g++ -march=native -O2 -pipe -c -DCONFDIR=\"/etc/vdr\" -DUSE_CHANNELSCAN -DUSE_PLUGINMISSING -DREMOTE_KBD -DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" 
-D_GNU_SOURCE -DVIDEODIR=\"/var/vdr/video\" -DCONFDIR=\"/etc/vdr\" -DPLUGINDIR=\"/usr/lib64/vdr/plugins\" -DLOCDIR=\"/usr/share/locale\" -I/usr/include/freetype2 
-I/usr/include tools.c
Comment 1 Joerg Bornkessel (RETIRED) gentoo-dev 2013-05-20 18:18:39 UTC
fixed,
thx to point me on this