summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2017-07-07 14:11:08 +0000
committerMarc Espie <espie@cvs.openbsd.org>2017-07-07 14:11:08 +0000
commit0ba4ea4561471e614da27aa9d02a33081f637541 (patch)
tree5ee2dc20cb05abb5eafc1ee958c024bd31e3f84a /share
parent2b60ac6d76d9324485e93d0e68a9dae232aefc90 (diff)
COMPILE.c already does -c, so no need to double it.
no functional change
Diffstat (limited to 'share')
-rw-r--r--share/mk/sys.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 7dd70ebe8c8..5239af8dfe8 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: sys.mk,v 1.80 2017/07/07 13:44:45 espie Exp $
+# $OpenBSD: sys.mk,v 1.81 2017/07/07 14:11:07 espie Exp $
# $NetBSD: sys.mk,v 1.27 1996/04/10 05:47:19 mycroft Exp $
# @(#)sys.mk 5.11 (Berkeley) 3/13/91
@@ -192,7 +192,7 @@ CTAGS?= /usr/bin/ctags
${LEX.l} -o ${.TARGET} ${.IMPSRC}
.l.o:
${LEX.l} -o lex.${.PREFIX}.c ${.IMPSRC}
- ${COMPILE.c} -o ${.TARGET} -c lex.${.PREFIX}.c
+ ${COMPILE.c} -o ${.TARGET} lex.${.PREFIX}.c
rm -f lex.${.PREFIX}.c
if test -f ${.TARGET:R}.d; then sed -i -e 's,lex.${.PREFIX}.c,${.IMPSRC},' ${.TARGET:R}.d; fi