From 08cca5431f4183d54505ce89f2cac4815fdce7b5 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Wed, 29 Jan 2020 16:37:52 -0800 Subject: Move toolchain config into config.lua --- pkg/ncurses/gen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/ncurses/gen.lua') diff --git a/pkg/ncurses/gen.lua b/pkg/ncurses/gen.lua index 27513a33..8bb204a6 100644 --- a/pkg/ncurses/gen.lua +++ b/pkg/ncurses/gen.lua @@ -10,7 +10,7 @@ set('common_cflags', { cflags{'$common_cflags'} sub('tools.ninja', function() - toolchain 'host' + toolchain(config.host) cflags{'$common_cflags', '-D USE_BUILD_CC'} exe('make_keys', {'ncurses/tinfo/make_keys.c'}, {'$gendir/headers', '$outdir/names.c'}) exe('make_hash', {'ncurses/tinfo/make_hash.c'}, {'$gendir/headers', '$outdir/hashsize.h'}) -- cgit v1.2.3