Module Name:    src
Committed By:   tsutsui
Date:           Sun Nov 16 11:54:29 UTC 2014

Modified Files:
        src/distrib/atari/floppies/common: Makefile.images

Log Message:
Use "-Os -m68020-60" for DBG. It seems to generate smaller objects than -Os.

gcc48 with "-Os":
-rwxr-xr-x  1 tsutsui  wheel  1319596 Nov 16 20:50 obj.atari/instbin

gcc48 with "-Os -m68020-60"
-rwxr-xr-x  1 tsutsui  wheel  1314516 Nov 16 20:49 obj.atari/instbin

This allows ever growing sysinst.fs still fit into 1440KB even with gcc48.
Acually we need a real solution (ustarfs based floppies etc.) soon
but we can work around at least for NetBSD 7.0.

Should be pulled up to netbsd-7 (if NetBSD/m68k 7.0 will switch to gcc48).


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/distrib/atari/floppies/common/Makefile.images

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

Modified files:

Index: src/distrib/atari/floppies/common/Makefile.images
diff -u src/distrib/atari/floppies/common/Makefile.images:1.8 src/distrib/atari/floppies/common/Makefile.images:1.9
--- src/distrib/atari/floppies/common/Makefile.images:1.8	Sun Feb 21 20:06:19 2010
+++ src/distrib/atari/floppies/common/Makefile.images	Sun Nov 16 11:54:29 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.images,v 1.8 2010/02/21 20:06:19 tsutsui Exp $
+#	$NetBSD: Makefile.images,v 1.9 2014/11/16 11:54:29 tsutsui Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -6,7 +6,7 @@
 .include <bsd.kernobj.mk>
 
 WARNS=		1
-DBG=		-Os
+DBG=		-Os -m68020-60	# -m68020-60 seems to generate smaller binaries
 
 CRUNCHBIN=	instbin
 LISTS=		${.CURDIR}/list ${.CURDIR}/../common/list.images

Reply via email to