Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/zaurus/ramdisk Adding -DNDEBUG saves about 5KB of te...



details:   https://anonhg.NetBSD.org/src/rev/660f48e0d144
branches:  trunk
changeset: 339413:660f48e0d144
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jul 21 01:53:44 2015 +0000

description:
Adding -DNDEBUG saves about 5KB of text and disable asserts.
Adding -mthumb -mthumb-interwork, knowing this is Xscale which
has thumb, saves about 340KB of text.

diffstat:

 distrib/zaurus/ramdisk/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 5365e2288490 -r 660f48e0d144 distrib/zaurus/ramdisk/Makefile
--- a/distrib/zaurus/ramdisk/Makefile   Mon Jul 20 23:50:22 2015 +0000
+++ b/distrib/zaurus/ramdisk/Makefile   Tue Jul 21 01:53:44 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.19 2015/07/19 09:23:53 martin Exp $
+#      $NetBSD: Makefile,v 1.20 2015/07/21 01:53:44 matt Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -9,6 +9,8 @@
 
 WARNS=         1
 DBG=           -Os
+DBG+=          -mthumb -mthumb-interwork
+DBG+=          -DNDEBUG
 
 CRUNCHBIN=     ramdiskbin
 LISTS=         ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst



Home | Main Index | Thread Index | Old Index