From 6e65822ba7aed8ade399abc0aeef3a41843ef361 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sat, 19 Apr 1997 07:20:13 +0000 Subject: Allow this to be cross-compiled. --- hack/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hack/Makefile') diff --git a/hack/Makefile b/hack/Makefile index f13a45e1..80fd5248 100644 --- a/hack/Makefile +++ b/hack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 1997/03/27 10:55:21 mycroft Exp $ +# $NetBSD: Makefile,v 1.21 1997/04/19 07:20:13 thorpej Exp $ # @(#)Makefile 8.2 (Berkeley) 4/27/95 PROG= hack @@ -29,7 +29,7 @@ hack.onames.h: makedefs def.objects.h ${.OBJDIR}/makedefs ${.CURDIR}/def.objects.h > hack.onames.h makedefs: makedefs.c - ${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${.CURDIR}/${.PREFIX}.c ${LDADD} + ${HOST_CC} ${HOST_CFLAGS} ${HOST_LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${.CURDIR}/${.PREFIX}.c .if !exists(${DESTDIR}${FILESDIR}/perm) proginstall:: clobber -- cgit v1.2.3-56-ge451