From f3ea1e8fdf9dc8f33844b588e6c20e09fe96e8e2 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Thu, 6 Sep 2001 18:36:42 +0000 Subject: compile with native userland --- sys/arch/sparc64/stand/bootblk/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/sparc64/stand/bootblk/Makefile b/sys/arch/sparc64/stand/bootblk/Makefile index c8b1ed948a1..f05ca900e0f 100644 --- a/sys/arch/sparc64/stand/bootblk/Makefile +++ b/sys/arch/sparc64/stand/bootblk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2001/08/22 10:53:28 art Exp $ +# $OpenBSD: Makefile,v 1.4 2001/09/06 18:36:41 jason Exp $ # $NetBSD: Makefile,v 1.1 2000/08/20 14:58:45 mrg Exp $ CURDIR= ${.CURDIR} @@ -19,6 +19,9 @@ OS!=uname -s .if (${OS} == "NetBSD") USE_GENASSYM?= no SVR4= +.elif (${OS} == "OpenBSD") +USE_GENASSYM?= no +SVR4=-U__NetBSD__ -D__OpenBSD__ .else USE_GENASSYM?= yes SVR4=-U__SVR4 -U__svr4__ -D__NetBSD__ @@ -45,7 +48,7 @@ assym.fth.h: ${.CURDIR}/genassym.sh genfth.cf machine bootblk.text: bootblk.fth assym.fth.h awk '/fload/ { print "#include \"" $$2 "\"" }; !/fload/' \ - ${.CURDIR}/bootblk.fth | /usr/bin/cpp -P >bootblk.text.tmp && + ${.CURDIR}/bootblk.fth | /usr/bin/cpp -traditional -P >bootblk.text.tmp && \ mv -f bootblk.text.tmp bootblk.text bootblk: bootblk.fth assym.fth.h -- cgit v1.2.3