Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469814 - media-video/vdr : does not respect CXX
Summary: media-video/vdr : does not respect CXX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo VDR Project
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-05-14 09:25 UTC by Agostino Sarubbo
Modified: 2013-05-20 18:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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 gentoo-dev 2013-05-20 18:18:39 UTC
thx to point me on this