summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-27 16:54:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-27 16:54:55 +0000
commit147d62531a4c937c43d846e66b15dc926fb8d776 (patch)
tree6124191f3d143a1768b049614142b5a52323324b /sys/arch/sparc
parent50c901d35251f10d0ef363f25fa90a6555c0083f (diff)
Unifity CPPFLAGS= (using ${_mach}), SYSTEM_LD_TAIL= (always on one line),
and SRCS= (common files always after the \)
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/conf/Makefile.sparc5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc/conf/Makefile.sparc b/sys/arch/sparc/conf/Makefile.sparc
index 700a73a6daf..7b887110d96 100644
--- a/sys/arch/sparc/conf/Makefile.sparc
+++ b/sys/arch/sparc/conf/Makefile.sparc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sparc,v 1.57 2010/04/27 06:46:26 deraadt Exp $
+# $OpenBSD: Makefile.sparc,v 1.58 2010/04/27 16:54:54 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -25,8 +25,7 @@ _machdir?= $S/arch/${_mach}
_archdir?= $S/arch/${_arch}
INCLUDES= -nostdinc -I. -I$S -I$S/arch
-CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dsparc
-
+CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -D${_mach}
CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main \
-Wstack-larger-than-2047