summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/stand/bootxx
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-01-10 07:36:33 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-01-10 07:36:33 +0000
commit1752d29e9c0930cc48fb46cf0907dd4fefd2a309 (patch)
treefb5e1887d3a77f881cf8cc088ded1fedec07197e /sys/arch/mvme68k/stand/bootxx
parent1714e6d4bfb567efae90f7337074a300005d155a (diff)
Really pass -fno-stack-protector in CFLAGS as intended, and define the
load addresses in one single place; from mvme88k
Diffstat (limited to 'sys/arch/mvme68k/stand/bootxx')
-rw-r--r--sys/arch/mvme68k/stand/bootxx/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/mvme68k/stand/bootxx/Makefile b/sys/arch/mvme68k/stand/bootxx/Makefile
index 042275f2bac..59d34eba02a 100644
--- a/sys/arch/mvme68k/stand/bootxx/Makefile
+++ b/sys/arch/mvme68k/stand/bootxx/Makefile
@@ -1,13 +1,11 @@
# from: @(#)Makefile 8.1 (Berkeley) 6/10/93
-# $OpenBSD: Makefile,v 1.7 2005/08/03 00:16:01 millert Exp $
-
-RELOC=0x10000
+# $OpenBSD: Makefile,v 1.8 2006/01/10 07:36:32 miod Exp $
S= ${.CURDIR}/../../../..
DEFS=
INCPATH=-I${.CURDIR} -I${.CURDIR}/../libsa -I${.CURDIR}/../libbug \
-I${.CURDIR}/../../include -I${S} -I${S}/lib/libsa
-CFLAGS= -O2 ${INCPATH} ${DEFS} ${COPTS}
+CFLAGS+=-O2 ${INCPATH} ${DEFS} ${COPTS}
CLEANFILES+=bootxx
.include "${S}/arch/mvme68k/stand/bugcrt/Makefile.inc"
@@ -27,7 +25,7 @@ ALL= ${BOOTS}
all: ${ALL}
bootxx: ${OBJS} ${BUGCRT} ${LIBS}
- ${LD} -N -T ${RELOC} ${BUGCRT} ${OBJS} ${LIBS} \
+ ${LD} -N -T ${STAGE1_RELOC} ${BUGCRT} ${OBJS} ${LIBS} \
`cc -print-libgcc-file-name` -o $@
install: