summaryrefslogtreecommitdiff
path: root/sys/arch/arc
diff options
context:
space:
mode:
authorimp <imp@cvs.openbsd.org>1996-08-24 18:35:26 +0000
committerimp <imp@cvs.openbsd.org>1996-08-24 18:35:26 +0000
commit088db4150d1a8f0c81cf49bd80dbc332225f8c87 (patch)
tree702dc050d91a739d63752da196664837d8e3dc09 /sys/arch/arc
parentb1f9407a307f10b029bd2cf4a3403aaa38e1e036 (diff)
Use HOSTCC to build genassym to fix cross compilations
Diffstat (limited to 'sys/arch/arc')
-rw-r--r--sys/arch/arc/conf/Makefile.arc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arc/conf/Makefile.arc b/sys/arch/arc/conf/Makefile.arc
index cee91a9c28e..4198aab947b 100644
--- a/sys/arch/arc/conf/Makefile.arc
+++ b/sys/arch/arc/conf/Makefile.arc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.arc,v 1.2 1996/07/16 07:46:15 pefo Exp $
+# $OpenBSD: Makefile.arc,v 1.3 1996/08/24 18:35:25 imp Exp $
# @(#)Makefile.arc 8.2 (Berkeley) 2/16/94
#
@@ -142,10 +142,10 @@ assym.h: genassym
./genassym >assym.h
genassym: genassym.o
- ${CC} -o $@ genassym.o
+ ${HOSTCC} -o $@ genassym.o
genassym.o: ${ARC}/arc/genassym.c
- ${CC} ${INCLUDES} ${IDENT} -D_KERNEL -Darc -c $<
+ ${HOSTCC} ${INCLUDES} ${IDENT} -D_KERNEL -Darc -c $<
links:
egrep '#if' ${CFILES} | sed -f $S/conf/defines | \