summaryrefslogtreecommitdiff
path: root/pkg/ncompress/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-03-02 03:28:54 -0800
committerMichael Forney <mforney@mforney.org>2021-03-02 16:20:18 -0800
commit558218a684dc12893277c85fafba4e8b47aa2dda (patch)
tree5cdf460bb3771303c430b9dc49411b7c98e2c0e3 /pkg/ncompress/gen.lua
parent682ca9517e9d26c54e6d4bfaa476808ef4b33377 (diff)
ncompress: Update to 5.0
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'