summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2023-02-07 12:06:54 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2023-02-07 12:06:54 +0000
commit05c67ec507f17953c78756f5d3e7b4f79150064b (patch)
treee08805998cd8e8115ab471cb04a1eee121e5ce1f /sys/arch/alpha/stand
parent10daf01e0ead8ec415be53e94c0246633b80408d (diff)
Since we override CFLAGS here, don't forget to put -Oz in there so as to compile
with some form of optimization.
Diffstat (limited to 'sys/arch/alpha/stand')
-rw-r--r--sys/arch/alpha/stand/bootxx/Makefile4
1 files 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