diff options
author | Pascal Stumpf <pascal@cvs.openbsd.org> | 2015-03-18 18:04:13 +0000 |
---|---|---|
committer | Pascal Stumpf <pascal@cvs.openbsd.org> | 2015-03-18 18:04:13 +0000 |
commit | 9d7b8cf283108a545523f6138baf4d14e0a363cc (patch) | |
tree | 45db268c889b21c16955dd08794fa1d775dcd513 | |
parent | 42e86a2d2a62632568f1d148712be6d3ed0ecd3a (diff) |
Convert -static -> ${STATIC} to make man.cgi static PIE.
no concerns from schwarze@
-rw-r--r-- | usr.bin/mandoc/Makefile | 4 |
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 |