4 PKG_OPTIONS_VAR= PKG_OPTIONS.zzuf
5 PKG_SUPPORTED_OPTIONS= debug
6 PKG_SUGGESTED_OPTIONS= debug
8 .include "../../mk/bsd.options.mk"
10 .if !empty(PKG_OPTIONS:Mdebug)
11 . if ${MACHINE_ARCH} == "x86_64" # XXX Is this correct?
12 CFLAGS+= -fno-omit-frame-pointer
14 BUILDLINK_TRANSFORM+= rm:-fomit-frame-pointer