447bc95425
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.
7 lines
151 B
Makefile
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
|