summaryrefslogtreecommitdiff
path: root/security/gnupg/hacks.mk
blob: c85166ae0901a6f4d51a9e1f2464fe05681e139b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBS$

.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