# $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