diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-05-08 07:23:19 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-05-08 07:23:19 +0000 |
commit | 3eb07b4112daaf1479491a253f5e56aefad54e0d (patch) | |
tree | 5326d65a789b084ee9f9eadd6fb7083301e12b7f /sys/arch/sparc/conf | |
parent | 4048e467e4191dd3654334d8f4792c90a9602b9a (diff) |
Switch sparc to __HAVE_CPUINFO.
miod@ tested (since I hacked it up blindly) and ok.
Diffstat (limited to 'sys/arch/sparc/conf')
-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 |