summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/conf/Makefile.mac68k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-12-14 08:51:22 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-12-14 08:51:22 +0000
commitfa24605dbc4c61a6d880d52d1469a55c8a002ac3 (patch)
treefa1e1a5c7df0ce6efb9e8e2dbe82293c53c58d00 /sys/arch/mac68k/conf/Makefile.mac68k
parentc22379bc91ec3e19a4d69b7edb4d305129f0fd15 (diff)
Sync compilation flags definition accross m68k-based arches.
mvme68k still lacks some -Wfoo flags, until it is warnings clean.
Diffstat (limited to 'sys/arch/mac68k/conf/Makefile.mac68k')
-rw-r--r--sys/arch/mac68k/conf/Makefile.mac68k12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/arch/mac68k/conf/Makefile.mac68k b/sys/arch/mac68k/conf/Makefile.mac68k
index ff8a42b2ca8..f4a213d22e5 100644
--- a/sys/arch/mac68k/conf/Makefile.mac68k
+++ b/sys/arch/mac68k/conf/Makefile.mac68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mac68k,v 1.22 2001/08/30 22:10:18 miod Exp $
+# $OpenBSD: Makefile.mac68k,v 1.23 2001/12/14 08:51:21 miod Exp $
# $NetBSD: Makefile.mac68k,v 1.53 1997/04/15 06:11:38 scottr Exp $
# Makefile for OpenBSD
@@ -28,8 +28,8 @@ CC?= cc
LD?= ld
MKDEP?= mkdep
STRIP?= strip -d
-COPTS?= -O2
TOUCH?= touch -f -c
+COPTS?= -O2
# source tree is located via $S relative to the compilation directory
.ifndef S
@@ -39,12 +39,16 @@ MAC68K= $S/arch/mac68k
M68K= $S/arch/m68k
INCLUDES= -I. -I$S/arch -I$S -nostdinc
-CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dmc68020 -Dmac68k
+CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
+ -Dmc68020 -Dmac68k
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main
-CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} -msoft-float
+CMACHFLAGS= -msoft-float
+
+CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS}
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -n -Ttext 0 -e start
+STRIPFLAGS= -d
HOSTCC?= ${CC}
HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}