diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-07-19 06:05:16 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-07-19 06:05:16 +0000 |
commit | 2911006dcd808278e26b990dd26b268183fc27b4 (patch) | |
tree | 987ef2c8066de90b45e419ccceecab93993a392f /Makefile | |
parent | 20a972b9c7a4dc0048c55dd8cb3a9bc426793851 (diff) | |
download | mandoc-2911006dcd808278e26b990dd26b268183fc27b4.tar.gz |
Do not fork and exec gunzip(1), just link with libz instead.
As discussed with deraadt@, that's cleaner and will help tame(2).
Something like this was also suggested earlier by bapt at FreeBSD.
Minus 50 lines of code, deleting one interface function (mparse_wait),
no functional change intended.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -403,7 +403,7 @@ man.cgi: $(CGI_OBJS) libmandoc.a $(CC) $(LDFLAGS) $(STATIC) -o $@ $(CGI_OBJS) libmandoc.a $(DBLIB) demandoc: $(DEMANDOC_OBJS) libmandoc.a - $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a + $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a -lz soelim: $(SOELIM_OBJS) compat_reallocarray.o $(CC) $(LDFLAGS) -o $@ $(SOELIM_OBJS) compat_reallocarray.o |