Module Name:    src
Committed By:   tsutsui
Date:           Sat Nov 28 05:16:07 UTC 2020

Modified Files:
        src/distrib/dreamcast/ramdisk: Makefile

Log Message:
Try to shrink ramdiskbin binary.

-Os
-rwxr-xr-x  1 tsutsui  wheel  1371212 Nov 28 14:09 obj.dreamcast/ramdiskbin*

-Os -fno-unwind-tables
-rwxr-xr-x  1 tsutsui  wheel  1366000 Nov 28 14:10 obj.dreamcast/ramdiskbin*

-Os -fno-unwind-tables -DNDEBUG
-rwxr-xr-x  1 tsutsui  wheel  1359700 Nov 28 14:11 obj.dreamcast/ramdiskbin*


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/distrib/dreamcast/ramdisk/Makefile

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

Modified files:

Index: src/distrib/dreamcast/ramdisk/Makefile
diff -u src/distrib/dreamcast/ramdisk/Makefile:1.15 src/distrib/dreamcast/ramdisk/Makefile:1.16
--- src/distrib/dreamcast/ramdisk/Makefile:1.15	Sun Dec 29 18:26:17 2019
+++ src/distrib/dreamcast/ramdisk/Makefile	Sat Nov 28 05:16:06 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.15 2019/12/29 18:26:17 christos Exp $
+#	$NetBSD: Makefile,v 1.16 2020/11/28 05:16:06 tsutsui Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -8,7 +8,8 @@ IMAGESIZE=	1440k
 MAKEFS_FLAGS+=	-f 15
 
 WARNS=		1
-DBG=		-Os
+DBG=		-Os -fno-unwind-tables
+DBG+=		-DNDEBUG		# to remove assert(3) macro
 
 CRUNCHBIN=	ramdiskbin
 LISTS=		${.CURDIR}/list # ${DISTRIBDIR}/common/list.sysinst

Reply via email to