diff options
| author | Michael Forney <mforney@mforney.org> | 2016-06-16 20:38:35 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-06-16 20:38:35 -0700 |
| commit | d8b063e200e00a53469cafc7a9fd4ead6d8af1ff (patch) | |
| tree | 73e4c91653f8a23682cc9436875e64de1e271402 | |
| parent | be41026e6f6d7a589b13b0aa9aeb8dd21dba5d68 (diff) | |
perp: Set TINYLOG_ZIP and ZIP_EXT
| -rw-r--r-- | core/perp/gen.rc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/perp/gen.rc b/core/perp/gen.rc index 41eb0750..84c52771 100644 --- a/core/perp/gen.rc +++ b/core/perp/gen.rc @@ -69,7 +69,12 @@ fn x { } x perp perpd perpd.c perpd_conn.c perpd_svdef.c -for(exe in perp^(boot ctl hup ls ok stat) tinylog) x perp $exe $exe.c + +let cflags '$cflags -D ''TINYLOG_ZIP="/bin/gzip"'' -D ''ZIP_EXT=".gz"''' --\ + cc perp/tinylog.c +x perp tinylog tinylog.c.o + +for(exe in perp^(boot ctl hup ls ok stat)) x perp $exe $exe.c tools=(\ run^(args argv0 choom detach deux env file limit lock pause session tool trap uid)\ cat^(args env limits uid)\ |
