summaryrefslogtreecommitdiff
path: root/pkg/ncurses/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-01-29 16:37:52 -0800
committerMichael Forney <mforney@mforney.org>2020-01-29 22:14:33 -0800
commit08cca5431f4183d54505ce89f2cac4815fdce7b5 (patch)
tree95e8e6f3bc2255c1c9d20306789e817723c884d2 /pkg/ncurses/gen.lua
parentf0f72311369f081643a6cab775b168f1f8222345 (diff)
Move toolchain config into config.lua
Diffstat (limited to 'pkg/ncurses/gen.lua')
-rw-r--r--pkg/ncurses/gen.lua2
1 files changed, 1 insertions, 1 deletions
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'})