blob: 913c2a4f50e6523566df6d4bff17ed8ee29e2a85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# $NetBSD: options.mk,v 1.2 2010/12/25 11:00:51 obache Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.zzuf
PKG_SUPPORTED_OPTIONS= debug
PKG_SUGGESTED_OPTIONS= debug
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
. if ${MACHINE_ARCH} == "x86_64" # XXX Is this correct?
CFLAGS+= -fno-omit-frame-pointer
. endif
BUILDLINK_TRANSFORM+= rm:-fomit-frame-pointer
.endif
|