summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/conf/Makefile.mvme88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-10-01 20:39:42 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-10-01 20:39:42 +0000
commit86115c4362593330e50c16b0ca2c180cca1aa974 (patch)
treee889ca8610eac747f81a181cda1e8039b8004718 /sys/arch/mvme88k/conf/Makefile.mvme88k
parent160b67d66154f2cc8bc2689cdd5035ab70b08bb9 (diff)
Compile kernel and bootblocks with -mmemcpy, to get rid of libgcc dependancy.
Also, honor default compilation options in stand/ whenever possible. This requires an up-to-date compiler, but it's not exactly like many people are going to be affected by this change...
Diffstat (limited to 'sys/arch/mvme88k/conf/Makefile.mvme88k')
-rw-r--r--sys/arch/mvme88k/conf/Makefile.mvme88k9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/mvme88k/conf/Makefile.mvme88k b/sys/arch/mvme88k/conf/Makefile.mvme88k
index e643a60a9b5..0d18414abd7 100644
--- a/sys/arch/mvme88k/conf/Makefile.mvme88k
+++ b/sys/arch/mvme88k/conf/Makefile.mvme88k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvme88k,v 1.28 2003/08/30 21:15:59 miod Exp $
+# $OpenBSD: Makefile.mvme88k,v 1.29 2003/10/01 20:39:38 miod Exp $
#
# Makefile for OpenBSD
#
@@ -37,11 +37,11 @@ INCLUDES= -nostdinc -I. -I$S/arch -I$S
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmvme88k -Dm88k
CWARNFLAGS= -Wall -Werror -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main -Wstrict-prototypes
-CMACHFLAGS= -mno-check-zero-division
+CMACHFLAGS= -mno-check-zero-division -mmemcpy
.if ${IDENT:M-DNO_PROPOLICE}
CMACHFLAGS+= -fno-stack-protector
.endif
-COPTS?= -O
+COPTS?= -O1
CFLAGS= ${DEBUG} ${CWARNFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE ${CMACHFLAGS}
LINKFLAGS= -Ttext 0x10000 -e start
@@ -113,8 +113,7 @@ SYSTEM_OBJ= locore.o \
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \
- ${LD} ${LINKFLAGS} -o $@ ${SYSTEM_OBJ} vers.o \
- `${CC} -print-libgcc-file-name`
+ ${LD} ${LINKFLAGS} -o $@ ${SYSTEM_OBJ} vers.o
SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@;
DEBUG?=