Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450164 - games-board/ace does not respect CC
Summary: games-board/ace does not respect CC
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
Depends on:
Blocks: tc-directly 450270
  Show dependency tree
Reported: 2013-01-04 12:48 UTC by Agostino Sarubbo
Modified: 2013-01-04 20:00 UTC (History)
0 users

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

ace-1.4-CC.patch (ace-1.4-CC.patch,662 bytes, patch)
2013-01-04 17:45 UTC, Julian Ospald
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-01-04 12:48:39 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)"

Note: CC is unsrespected at link time:

gcc -O2 -pipe  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu ./make-imglib.c -o make-imglib -lpng -lz
gcc -O2 -pipe  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu ./text2c.c -o text2c -lpng -lz
Comment 1 Julian Ospald 2013-01-04 17:45:05 UTC
Created attachment 334448 [details, diff]
Comment 2 Julian Ospald 2013-01-04 20:00:40 UTC
+  04 Jan 2013; Julian Ospald <> ace-1.4.ebuild,
+  +files/ace-1.4-CC.patch, +files/ace-1.4-clang.patch:
+  fix bug 450164 and bug 450270