summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/make/targ.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c
index 71bb7490383..946949bc201 100644
--- a/usr.bin/make/targ.c
+++ b/usr.bin/make/targ.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: targ.c,v 1.54 2007/11/24 15:41:01 espie Exp $ */
+/* $OpenBSD: targ.c,v 1.55 2007/11/28 09:39:01 espie Exp $ */
/* $NetBSD: targ.c,v 1.11 1997/02/20 16:51:50 christos Exp $ */
/*
@@ -477,7 +477,7 @@ look_harder_for_target(GNode *gn)
GNode *extra, *cgn;
LstNode ln;
- if (gn->type & OP_RESOLVED)
+ if (gn->type & (OP_RESOLVED|OP_PHONY))
return;
gn->type |= OP_RESOLVED;
if (strncmp(gn->name, objdir, objdir_len) == 0) {