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 | f0143f309111bca83659f897fa5c7c42548890ed (patch) | |
tree | a4e4f250b02548ce4781417e928a293aee002be7 /Makefile | |
parent | 0c627ea8c3cc862ae75011fd19486724efdf240b (diff) | |
download | mandoc-f0143f309111bca83659f897fa5c7c42548890ed.tar.gz mandoc-f0143f309111bca83659f897fa5c7c42548890ed.tar.zst mandoc-f0143f309111bca83659f897fa5c7c42548890ed.zip |
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 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.465 2015/07/17 22:38:29 schwarze Exp $ +# $Id: Makefile,v 1.466 2015/07/19 06:05:16 schwarze Exp $ # # Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> # Copyright (c) 2011, 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -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 |