summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-01-05 08:17:31 +0000
committerderaadt <deraadt@openbsd.org>1997-01-05 08:17:31 +0000
commit91b91eeff22f7f46b23b8035bc7d052274de63e6 (patch)
tree79b0c855b193bf1581e875ee999952f48178b82c
parentabsent pcmcia cards do not interrupt (diff)
downloadwireguard-openbsd-91b91eeff22f7f46b23b8035bc7d052274de63e6.tar.xz
wireguard-openbsd-91b91eeff22f7f46b23b8035bc7d052274de63e6.zip
HOSTCC; from rahnds
-rw-r--r--bin/sh/Makefile6
-rw-r--r--lib/libtermlib/Makefile5
2 files changed, 7 insertions, 4 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index eb2bf208bd9..37102a73cf4 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 1996/10/20 00:54:41 millert Exp $
+# $OpenBSD: Makefile,v 1.8 1997/01/05 08:17:31 deraadt Exp $
# $NetBSD: Makefile,v 1.23 1996/02/18 12:29:18 mycroft Exp $
STATIC= -static
@@ -37,12 +37,12 @@ nodes.c nodes.h: mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat
./mknodes ${.CURDIR}/nodetypes ${.CURDIR}/nodes.c.pat
mknodes: ${.CURDIR}/mknodes.c
- ${CC} ${CFLAGS} ${.CURDIR}/mknodes.c -o $@
+ ${HOSTCC} ${CFLAGS} ${.CURDIR}/mknodes.c -o $@
syntax.c syntax.h: mksyntax
./mksyntax
mksyntax: ${.CURDIR}/mksyntax.c ${.CURDIR}/parser.h
- ${CC} ${CFLAGS} ${.CURDIR}/mksyntax.c -o $@
+ ${HOSTCC} ${CFLAGS} ${.CURDIR}/mksyntax.c -o $@
.include <bsd.prog.mk>
diff --git a/lib/libtermlib/Makefile b/lib/libtermlib/Makefile
index 56107c9ba0d..be04534d522 100644
--- a/lib/libtermlib/Makefile
+++ b/lib/libtermlib/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 1996/12/08 15:22:33 downsj Exp $
+# $OpenBSD: Makefile,v 1.6 1997/01/05 08:22:05 deraadt Exp $
#
# Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
# All rights reserved.
@@ -74,4 +74,7 @@ includes: ${HDRS}
.include <bsd.lib.mk>
+mkinfo: mkinfo.c
+ ${HOSTCC} ${CFLAGS} -I${.CURDIR} -o mkinfo $>
+
.depend: mkinfo.c