pkgsrc/security/gnupg/hacks.mk

15 lines
288 B
Makefile
Raw Normal View History

# $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