From 621bd0202506b5e0afa8ceb0323816b2693d70b5 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 28 Sep 2000 23:50:13 +0000 Subject: Update compilation flags, make cross-compilation work. --- sys/arch/sun3/conf/Makefile.sun3 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/arch/sun3/conf/Makefile.sun3 b/sys/arch/sun3/conf/Makefile.sun3 index 6e843225473..6426ec4e7c0 100644 --- a/sys/arch/sun3/conf/Makefile.sun3 +++ b/sys/arch/sun3/conf/Makefile.sun3 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sun3,v 1.22 1998/03/03 22:35:11 niklas Exp $ +# $OpenBSD: Makefile.sun3,v 1.23 2000/09/28 23:50:12 miod Exp $ # $NetBSD: Makefile.sun3,v 1.51 1996/09/09 21:07:08 mycroft Exp $ # Makefile for OpenBSD @@ -33,15 +33,12 @@ S!= cd ../../../..; pwd .endif SUN3= $S/arch/sun3 -# Override CPP defaults entirely, so cross-compilation works. INCLUDES= -I. -I$S/arch -I$S -nostdinc -XDEFS= -undef -D__OpenBSD__ -Dm68k -Dmc68000 CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \ - -Dmc68020 -Dsun3 ${XDEFS} + -Dmc68020 -Dsun3 CWARNFLAGS= -Werror -Wall -Wstrict-prototypes \ -Wno-format -Wno-uninitialized -Wno-main \ - # -Wmissing-prototypes -CFLAGS= ${DEBUG} ${CWARNFLAGS} -O2 -msoft-float -fno-defer-pop +CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} -msoft-float -fno-defer-pop AFLAGS= -m68020 -x assembler-with-cpp -traditional-cpp -D_LOCORE LINKFLAGS= -N -Ttext 0E004000 -e start STRIPFLAGS= -d -- cgit v1.2.3