summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-07-25 18:40:25 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-07-25 18:40:25 +0000
commitc7f974867c2dc7513c879889e53a7c4222c93906 (patch)
tree4c7fc954de53a8d5c11a544d2def881700509442 /usr.bin
parentda8bedcc11a3b958593e862f5160fdb11f020097 (diff)
Obey LDSTATIC when building "generate".
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/Makefile b/usr.bin/make/Makefile
index 33174bfa2d2..97f1d18c851 100644
--- a/usr.bin/make/Makefile
+++ b/usr.bin/make/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.35 2002/06/11 21:12:11 espie Exp $
+# $OpenBSD: Makefile,v 1.36 2002/07/25 18:40:24 art Exp $
PROG= make
CFLAGS+= -I${.OBJDIR} -I${.CURDIR}
@@ -38,7 +38,7 @@ condhashconsts.h: generate
${.OBJDIR}/generate 2 ${MAGICCONDSLOTS} >${.TARGET}
generate: generate.c stats.c memory.c
- ${HOSTCC} -o ${.TARGET} ${CFLAGS} ${.ALLSRC} ${LDADD}
+ ${HOSTCC} ${LDSTATIC} -o ${.TARGET} ${CFLAGS} ${.ALLSRC} ${LDADD}
check: regress.o str.o memory.o buf.o
${CC} -o ${.TARGET} ${CFLAGS} ${.ALLSRC} ${LDADD}