ncc: we need to set variables like CC in a different way, to avoid them being overwritten by configure-specified values.

This commit is contained in:
Corné Plooy 2018-06-25 15:53:12 +02:00 committed by Rusty Russell
parent e59489f49b
commit 50efe34e3b

View File

@ -297,7 +297,7 @@ coverage: coverage/coverage.info
# We make libwallycore.la a dependency, so that it gets built normally, without ncc.
# Ncc can't handle the libwally source code (yet).
ncc: external/libwally-core/src/libwallycore.la
CC="ncc -ncgcc -ncld -ncfabs" AR=nccar LD=nccld make
make CC="ncc -ncgcc -ncld -ncfabs" AR=nccar LD=nccld
# Ignore test/ directories.
TAGS: FORCE