diff options
Diffstat (limited to 'sys/arch/sparc/conf/Makefile.sparc')
-rw-r--r-- | sys/arch/sparc/conf/Makefile.sparc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/conf/Makefile.sparc b/sys/arch/sparc/conf/Makefile.sparc index e27b9742c8a..c7eb2211287 100644 --- a/sys/arch/sparc/conf/Makefile.sparc +++ b/sys/arch/sparc/conf/Makefile.sparc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sparc,v 1.36 2006/07/27 05:58:12 miod Exp $ +# $OpenBSD: Makefile.sparc,v 1.37 2007/05/08 07:23:18 art Exp $ # $NetBSD: Makefile.sparc,v 1.32.4.1 1996/06/12 20:26:32 pk Exp $ # Makefile for OpenBSD @@ -58,7 +58,7 @@ AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE LINKFLAGS= -N -e start -Ttext F8004000 STRIPFLAGS= -g -X -x -HOSTCC= ${CC} +HOSTCC?= ${CC} HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//} HOSTED_CFLAGS= ${CFLAGS} @@ -127,7 +127,7 @@ LINKFLAGS+= -S -x %LOAD assym.h: $S/kern/genassym.sh ${SPARC}/sparc/genassym.cf Makefile - sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} \ + sh $S/kern/genassym.sh ${HOSTCC} ${CPPFLAGS} \ ${PARAM} < ${SPARC}/sparc/genassym.cf > assym.h.tmp && \ mv -f assym.h.tmp assym.h |