601583c320
Patch provided by Sergey Svishchev in private mail.
14 lines
288 B
Makefile
14 lines
288 B
Makefile
# $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
|