summaryrefslogtreecommitdiff
path: root/security/gnupg/hacks.mk
blob: ed619453afb7fa3da84b5ba64bf4796c5020cf1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: hacks.mk,v 1.3 2005/12/05 20:50:56 rillig 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