Source-Changes-HG archive

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

[src/trunk]: src/distrib/evbppc/ramdisk Don't build unwind data for the ramdi...



details:   https://anonhg.NetBSD.org/src/rev/098fc628f5d5
branches:  trunk
changeset: 825587:098fc628f5d5
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Jul 23 20:59:00 2017 +0000

description:
Don't build unwind data for the ramdisk, use more aggressive size
optimization for clang.

diffstat:

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

diffs (18 lines):

diff -r 21d7f71cd173 -r 098fc628f5d5 distrib/evbppc/ramdisk/Makefile
--- a/distrib/evbppc/ramdisk/Makefile   Sun Jul 23 20:45:31 2017 +0000
+++ b/distrib/evbppc/ramdisk/Makefile   Sun Jul 23 20:59:00 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.22 2017/02/09 15:24:08 joerg Exp $
+#      $NetBSD: Makefile,v 1.23 2017/07/23 20:59:00 joerg Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -8,7 +8,7 @@
 MAKEFS_FLAGS+= -f 15
 
 WARNS=         1
-DBG=           -Os
+DBG=           ${${ACTIVE_CC} == "clang":? -Oz -fomit-frame-pointer : -Os } -fno-unwind-tables
 
 CRUNCHBIN=     ramdiskbin
 CRUNCHGEN_FLAGS=-d "${DBG}"



Home | Main Index | Thread Index | Old Index