summaryrefslogtreecommitdiff
path: root/textproc/icu
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2013-08-07 10:19:04 +0000
committerjmcneill <jmcneill@pkgsrc.org>2013-08-07 10:19:04 +0000
commitb68dc8c0200a1613b31e0a8f6b78f82f9afc3aff (patch)
tree3563418520f7387674756fa50405377527753e7f /textproc/icu
parent36fa83a1c503234be9a31947ad8c276fb433b07c (diff)
downloadpkgsrc-b68dc8c0200a1613b31e0a8f6b78f82f9afc3aff.tar.gz
apply arm-gcc-atomics hack to earm too
Diffstat (limited to 'textproc/icu')
-rw-r--r--textproc/icu/hacks.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/icu/hacks.mk b/textproc/icu/hacks.mk
index 7dcc6c0ef0f..36559fbae7f 100644
--- a/textproc/icu/hacks.mk
+++ b/textproc/icu/hacks.mk
@@ -1,10 +1,10 @@
-# $NetBSD: hacks.mk,v 1.1 2013/02/01 03:44:22 jmcneill Exp $
+# $NetBSD: hacks.mk,v 1.2 2013/08/07 10:19:04 jmcneill Exp $
.if !defined(ICU_HACKS_MK)
ICU_HACKS_MK= # defined
# NetBSD arm gcc <= 4.5 missing builtin atomics
-.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "arm"
+.if ${OPSYS} == "NetBSD" && (${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm")
. if !empty(CC_VERSION:Mgcc-4.[0-5].*)
PKG_HACKS+= arm-gcc-atomics
CFLAGS+= -DU_HAVE_GCC_ATOMICS=0