Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468666 - net-dialup/capi4k-utils : does not respect CC
Summary: net-dialup/capi4k-utils : does not respect CC
Status: RESOLVED DUPLICATE of bug 468662
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Stefan Briesenick (RETIRED)
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-05-05 12:06 UTC by Agostino Sarubbo
Modified: 2013-05-06 11:37 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-05 12:06:51 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:

cc -march=native -O2 -g0 -pipe  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu  pversion.c   -o pversion
Comment 1 Sergey Popov gentoo-dev 2013-05-06 11:37:58 UTC
Both of problems have the same way of solving, so we can handle this in one bug

*** This bug has been marked as a duplicate of bug 468662 ***