Module Name:    src
Committed By:   tsutsui
Date:           Tue Jun 15 17:17:57 UTC 2021

Modified Files:
        src/sys/arch/luna68k/stand/boot: Makefile

Log Message:
Specify -fno-unwind-tables to shrink binary size.  Tested on nono.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/luna68k/stand/boot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/luna68k/stand/boot/Makefile
diff -u src/sys/arch/luna68k/stand/boot/Makefile:1.17 src/sys/arch/luna68k/stand/boot/Makefile:1.18
--- src/sys/arch/luna68k/stand/boot/Makefile:1.17	Fri May 24 15:52:35 2019
+++ src/sys/arch/luna68k/stand/boot/Makefile	Tue Jun 15 17:17:57 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.17 2019/05/24 15:52:35 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.18 2021/06/15 17:17:57 tsutsui Exp $
 #	@(#)Makefile	8.2 (Berkeley) 8/15/93
 
 NOMAN= # defined
@@ -22,7 +22,7 @@ CPPFLAGS+=	-DLIBSA_ENABLE_LS_OP
 CPPFLAGS+=	-DLIBSA_PRINTF_WIDTH_SUPPORT
 CPPFLAGS+=	-DLIBSA_CREAD_NOCRC
 
-CFLAGS=		-Os -msoft-float
+CFLAGS=		-Os -fno-unwind-tables -msoft-float
 CFLAGS+=	-ffreestanding
 CFLAGS+=	-Wall -Werror
 CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith

Reply via email to