diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2000-09-28 23:50:13 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2000-09-28 23:50:13 +0000 |
commit | 621bd0202506b5e0afa8ceb0323816b2693d70b5 (patch) | |
tree | 85ea79703532271b291b857d55c66eb8f7726a85 | |
parent | 8332f823de1a61bcf79acecfa6417969bf73a5e3 (diff) |
Update compilation flags, make cross-compilation work.
-rw-r--r-- | sys/arch/sun3/conf/Makefile.sun3 | 9 |
1 files 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 |