Don't build unwind data for the ramdisk, use more aggressive size
optimization for clang.
This commit is contained in:
parent
73c4e30a68
commit
e04cfff0dc
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue