Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 470068 - media-tv/dvbtune : does not respect CC
Summary: media-tv/dvbtune : does not respect CC
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-05-16 12:16 UTC by Agostino Sarubbo
Modified: 2016-01-24 23:50 UTC (History)
2 users (show)

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

patch against latest ebuild (ebuild.patch,350 bytes, patch)
2013-05-19 14:36 UTC, Michael Mair-Keimberger (iamnr3)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-05-16 12:16:07 UTC
You receive this bug because this package does not respect my system's CC (x86_64-pc-linux-gnu-gcc) and calls directly /usr/bin/gcc(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 CC
3)inherit toolchain-funcs and use emake CC="$(tc-getCC)"

From the build log:

gcc -march=native -O2 -g0 -pipe -I /usr/include/libxml2 -I ../DVB/include -DNEWSTRUCT   -c -o tune.o tune.c
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-05-19 14:36:35 UTC
Created attachment 348678 [details, diff]
patch against latest ebuild

This patch should fix gcc direct calling and also missing ldflags