2005-12-05 21:49:47 +01:00
|
|
|
# $NetBSD: hacks.mk,v 1.3 2005/12/05 20:50:56 rillig Exp $
|
2005-10-04 19:59:37 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
.if !defined(GNUPG_HACKS_MK)
|
|
|
|
GNUPG_HACKS_MK= # defined
|
2005-10-04 19:59:37 +02:00
|
|
|
|
|
|
|
### 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
|