mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/nim: use $CC instead of 'gcc', bug #722958
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/722958 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -38,10 +38,17 @@ nim_use_enable() {
|
||||
use $1 && echo "-d:$2"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
src_configure() {
|
||||
export XDG_CACHE_HOME=${T}/cache #667182
|
||||
tc-export CC LD
|
||||
|
||||
# Override default CC=gcc.
|
||||
echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
|
||||
echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
_run ./build.sh
|
||||
|
||||
_run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
|
||||
|
||||
Reference in New Issue
Block a user