Since we override CFLAGS here, don't forget to put -Oz in there so as to compile
authormiod <miod@openbsd.org>
Tue, 7 Feb 2023 12:06:53 +0000 (12:06 +0000)
committermiod <miod@openbsd.org>
Tue, 7 Feb 2023 12:06:53 +0000 (12:06 +0000)
with some form of optimization.

sys/arch/alpha/stand/bootxx/Makefile

index 19d5d7e..bc1ec53 100644 (file)
@@ -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