summaryrefslogtreecommitdiff
path: root/security/gnupg/hacks.mk
blob: 3d2ac664f8a3db2134afe373eeebe6ad9a5c7afc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: hacks.mk,v 1.4 2007/02/22 19:27:07 wiz Exp $

.if !defined(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