From 9622ad74f3c39eb4cc1dfed6387b7aa866cdece0 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Tue, 23 Jan 2001 20:52:29 +0000 Subject: build boot with -Os --- sys/arch/alpha/stand/boot/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sys/arch/alpha/stand') diff --git a/sys/arch/alpha/stand/boot/Makefile b/sys/arch/alpha/stand/boot/Makefile index f729ed58481..eb0e6c94986 100644 --- a/sys/arch/alpha/stand/boot/Makefile +++ b/sys/arch/alpha/stand/boot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2001/01/16 15:36:36 art Exp $ +# $OpenBSD: Makefile,v 1.13 2001/01/23 20:52:28 art Exp $ # $NetBSD: Makefile,v 1.17 1997/04/17 07:27:46 thorpej Exp $ S= ${.CURDIR}/../../../.. @@ -18,11 +18,15 @@ HEADERSIZE_PROG = headersize CLEANFILES+= vers.c vers.o ${PROG}.sym ${PROG}.nosym ${HEADERSIZE_PROG} -DEFNS= -DCOMPAT_UFS -DALPHA_BOOT_ECOFF -DALPHA_BOOT_ELF + +DEFNS= -DCOMPAT_UFS -DALPHA_BOOT_ELF +.if !defined(BOOT_NO_ECOFF) +DEFNS+=-DALPHA_BOOT_ECOFF +.endif AFLAGS += -DASSEMBLER ${DEFNS} CPPFLAGS += -I${.CURDIR}/../../../../lib/libsa -I${.CURDIR}/../.. -I${S} ${DEFNS} -CFLAGS = -O2 -Werror -mno-fp-regs +CFLAGS = -Os -Werror -mno-fp-regs ${PROG}.nosym: ${PROG}.sym cp ${PROG}.sym ${PROG}.nosym -- cgit v1.2.3