diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-01-23 20:52:29 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-01-23 20:52:29 +0000 |
commit | 9622ad74f3c39eb4cc1dfed6387b7aa866cdece0 (patch) | |
tree | 3f086b0e196b7e7f2ad73651894d68658fdaee33 /sys | |
parent | d0b09a7abd79bf2d3e510d3bd3438388c0c67ae9 (diff) |
build boot with -Os
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/alpha/stand/boot/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
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 |