summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpascal <pascal@openbsd.org>2015-03-18 18:04:12 +0000
committerpascal <pascal@openbsd.org>2015-03-18 18:04:12 +0000
commitbe2fae9f7d37f01548c35430bb100868bef91fc2 (patch)
tree6983c5d8189863b4501ef56aeaddbf7b788790bb
parentsync (diff)
downloadwireguard-openbsd-be2fae9f7d37f01548c35430bb100868bef91fc2.tar.xz
wireguard-openbsd-be2fae9f7d37f01548c35430bb100868bef91fc2.zip
Convert -static -> ${STATIC} to make man.cgi static PIE.
no concerns from schwarze@
-rw-r--r--usr.bin/mandoc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/Makefile b/usr.bin/mandoc/Makefile
index 26b3dd196ba..9c434d24b29 100644
--- a/usr.bin/mandoc/Makefile
+++ b/usr.bin/mandoc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.92 2015/03/14 21:33:18 schwarze Exp $
+# $OpenBSD: Makefile,v 1.93 2015/03/18 18:04:12 pascal Exp $
.include <bsd.own.mk>
@@ -54,7 +54,7 @@ CGI_OBJS = ${LIBMANDOC_OBJS} ${HTML_OBJS} \
cgi.o: main.h mandoc.h mandoc_aux.h manpath.h mansearch.h cgi.h
man.cgi: ${CGI_OBJS}
- ${CC} ${LDFLAGS} -static -o ${.TARGET} ${CGI_OBJS} ${LDADD}
+ ${CC} ${LDFLAGS} ${STATIC} -o ${.TARGET} ${CGI_OBJS} ${LDADD}
installcgi: man.cgi
${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}/var/www/cgi-bin