summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-12-24 23:12:15 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-12-24 23:12:15 +0000
commit76daf3bd9e1578d85b9de7aaf1e84ca42b14a7d9 (patch)
tree5f9a2bef4c3f653169212aa9621211c8e2597f50 /sys/arch/macppc
parent635ab50f8c711e7422085af2db271e16970d3a2e (diff)
Harmonize and complete wrt cross-compilation.
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/conf/Makefile.macppc8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/macppc/conf/Makefile.macppc b/sys/arch/macppc/conf/Makefile.macppc
index 002ff9ffd4e..200e3419b8a 100644
--- a/sys/arch/macppc/conf/Makefile.macppc
+++ b/sys/arch/macppc/conf/Makefile.macppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.macppc,v 1.2 2001/11/13 14:31:52 drahn Exp $
+# $OpenBSD: Makefile.macppc,v 1.3 2001/12/24 23:12:14 miod Exp $
#
# Makefile for OpenBSD PowerPC
#
@@ -44,8 +44,10 @@ CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL \
-Dmacppc
CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main
-CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -msoft-float
-#CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -msoft-float -Wa,-maltivec
+CMACHFLAGS= -msoft-float
+#CMACHFLAGS= -msoft-float -Wa,-maltivec
+COPTS?= -O2
+CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS}
AFLAGS= -D_LOCORE
LINKFLAGS= -N -Ttext 100074 -e start
STRIPFLAGS= -d