Module Name:    src
Committed By:   joerg
Date:           Sun Jul 23 20:59:00 UTC 2017

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/distrib/evbppc/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/evbppc/ramdisk/Makefile
diff -u src/distrib/evbppc/ramdisk/Makefile:1.22 src/distrib/evbppc/ramdisk/Makefile:1.23
--- src/distrib/evbppc/ramdisk/Makefile:1.22	Thu Feb  9 15:24:08 2017
+++ src/distrib/evbppc/ramdisk/Makefile	Sun Jul 23 20:59:00 2017
@@ -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 @@ IMAGESIZE=	3280k
 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}"

Reply via email to