pkgsrc/mail/cue/hacks.mk
gdt 447bc95425 mail/cue: Fix compiler check via pkglint
AUTOFIX: hacks.mk:5: Replacing "${PKGSRC_COMPILER} == \"ido\"" with "${PKGSRC_COMPILER:Mido}".

The PKGSRC_COMPILER can be a list of chained compilers, e.g. "ccache
distcc clang". Therefore, comparing it using == or != leads to wrong
results in these cases.
2019-11-24 01:04:20 +00:00

7 lines
151 B
Makefile

# $NetBSD: hacks.mk,v 1.2 2019/11/24 01:04:20 gdt Exp $
.include "../../mk/compiler.mk"
.if ${PKGSRC_COMPILER:Mido}
CPPFLAGS+= -DNO_ATTRIBUTE
.endif