Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452838 - sci-electronics/gnucap does not respect CC
Summary: sci-electronics/gnucap does not respect CC
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Soldering-Iron Brotherhood
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-01-18 13:34 UTC by Agostino Sarubbo
Modified: 2013-01-18 14:02 UTC (History)
0 users

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-01-18 13:34:45 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 -march=native -O2 -g0 -pipe -I. -I../Include -DTRACE_UNTESTED -DSPICE_3f -DPREDICTOR -DAN_pz 
-DAN_disto -DAN_noise -DHAS_STDLIB -fPIC -c cccssset.c

g++ -march=native -O2 -pipe -I. -I../Include -DTRACE_UNTESTED -DSPICE_3f -DPREDICTOR -DAN_pz -DAN_disto -DAN_noise -DHAS_STDLIB -fPIC 
-I/var/tmp/portage/sci-electronics/gnucap-0.35.20091207/work/gnucap-2009-12-07/src -Wall -Wextra  -c 
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-01-18 14:02:12 UTC
+  18 Jan 2013; Justin Lecher <> -gnucap-0.35.ebuild,
+  gnucap-0.35.20091207.ebuild:
+  Drop old; repect CC and CXX, #452838