summaryrefslogtreecommitdiff
path: root/pkg/ncompress/gen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/ncompress/gen.lua')
-rw-r--r--pkg/ncompress/gen.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/ncompress/gen.lua b/pkg/ncompress/gen.lua
index b4ee6380..9c47ec32 100644
--- a/pkg/ncompress/gen.lua
+++ b/pkg/ncompress/gen.lua
@@ -1,10 +1,12 @@
cflags{
'-std=c99', '-Wall', '-Wpedantic',
'-D _POSIX_C_SOURCE=200809L',
- '-include $dir/config.h',
+ '-D UTIME_H',
+ '-D LSTAT',
+ '-D USERMEM=800000',
}
-exe('lzw', {'compress42.c'})
+exe('lzw', {'compress.c'})
file('bin/lzw', '755', '$outdir/lzw')
fetch 'git'