From 7246d0b9e4a3fb4b9011161d181c4433295efdcf Mon Sep 17 00:00:00 2001 From: miod Date: Tue, 7 Feb 2023 12:06:53 +0000 Subject: [PATCH] Since we override CFLAGS here, don't forget to put -Oz in there so as to compile with some form of optimization. --- sys/arch/alpha/stand/bootxx/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/alpha/stand/bootxx/Makefile b/sys/arch/alpha/stand/bootxx/Makefile index 19d5d7ea0f3..bc1ec53d3f7 100644 --- a/sys/arch/alpha/stand/bootxx/Makefile +++ b/sys/arch/alpha/stand/bootxx/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.17 2017/06/12 18:49:34 espie Exp $ +# $OpenBSD: Makefile,v 1.18 2023/02/07 12:06:53 miod Exp $ # $NetBSD: Makefile,v 1.12 1997/04/17 07:27:49 thorpej Exp $ S= ${.CURDIR}/../../../.. @@ -23,7 +23,7 @@ DEFNS= -DPRIMARY_BOOTBLOCK AFLAGS += -DASSEMBLER ${DEFNS} -fno-pie CPPFLAGS += -I${.CURDIR}/../.. -I${S} ${DEFNS} -CFLAGS = -Werror -mno-fp-regs -fno-pie \ +CFLAGS = -Oz -Werror -mno-fp-regs -fno-pie \ -msmall-data -msmall-text ${PROG}.nosym: ${PROG}.sym -- 2.20.1