pkgsrc/sysutils/grub/hacks.mk
rillig 9cc0c5e45d sysutils: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

Manually excluded consolekit and dc-tools since pkglint didn't get the
formatting correct.
2019-11-04 21:28:40 +00:00

18 lines
463 B
Makefile

# $NetBSD: hacks.mk,v 1.3 2019/11/04 21:28:46 rillig Exp $
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "DragonFly" && !empty(PKGSRC_COMPILER:Mgcc)
#
# The standalone modules doesn't support propolice.
#
. if !defined(HAS_PROPOLICE)
HAS_PROPOLICE!= ( ${CC} -v 2>&1 | ${GREP} 'propolice' ) 2>/dev/null || echo no
MAKEVARS+= HAS_PROPOLICE
. endif
. if ${HAS_PROPOLICE} != "no"
CFLAGS+= -fno-stack-protector
CXXFLAGS+= -fno-stack-protector
. endif
.endif