From 6e1d247fb082f34ec4699968b69539ad25541ead Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sat, 28 Nov 2020 05:16:06 +0000 Subject: [PATCH] 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* --- distrib/dreamcast/ramdisk/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/distrib/dreamcast/ramdisk/Makefile b/distrib/dreamcast/ramdisk/Makefile index 9d351642d731..e9cc6991e5cf 100644 --- a/distrib/dreamcast/ramdisk/Makefile +++ b/distrib/dreamcast/ramdisk/Makefile @@ -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 .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