pkgsrc/security/gnupg/hacks.mk
2005-10-04 22:50:41 +00:00

14 lines
302 B
Makefile

# $NetBSD: hacks.mk,v 1.2 2005/10/04 22:50:41 wiz Exp $
.ifndef GNUPG_HACKS_MK
GNUPG_HACKS_MK= #defined
### workaround for a GCC optimizer bug on sparc:
### drop any -mcpu flag
###
.if ${MACHINE_ARCH} == "sparc"
PKG_HACKS+= mcpu
BUILDLINK_TRANSFORM+= rm:-mcpu=.*
.endif
.endif