summaryrefslogtreecommitdiff
path: root/sys/arch/socppc
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/socppc
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/socppc')
-rw-r--r--sys/arch/socppc/conf/Makefile.socppc5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/socppc/conf/Makefile.socppc b/sys/arch/socppc/conf/Makefile.socppc
index a0360aa01d6..18eb871d48e 100644
--- a/sys/arch/socppc/conf/Makefile.socppc
+++ b/sys/arch/socppc/conf/Makefile.socppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.socppc,v 1.16 2010/04/27 16:50:15 jsg Exp $
+# $OpenBSD: Makefile.socppc,v 1.17 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= -I. -I$S -I$S/arch -nostdinc
-CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL \
- -D__socppc__
+CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -D__${_mach}__
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main \
-Wstack-larger-than-2047 -Wvariable-decl