Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446598 - media-libs/nas does not respect CC
Summary: media-libs/nas does not respect CC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2012-12-09 13:50 UTC by Agostino Sarubbo
Modified: 2014-02-16 16:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2012-12-09 13:50:12 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 -o nasd -O2 -fno-strength-reduce -fno-strict-aliasing      -L/usr/lib64    dia/libdia.a dda/voxware/libvoxware.a os/libos.a
Comment 1 Julian Ospald 2012-12-09 16:18:34 UTC
pretty weird one

there was a non-fatal parallel make issue resulting in "make" being incomplete. It would then try to compile the rest in src_install which is bad anyway


+  09 Dec 2012; Julian Ospald <hasufell@gentoo.org> nas-1.9.3.ebuild:
+  respect CC and RANLIB wrt #446598 and #446600

ugly fix, but Imake is too weird for me, tried for almost an hour