summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-05-30 12:17:48 +0000
committernia <nia@pkgsrc.org>2021-05-30 12:17:48 +0000
commit31da5a701d7d03bd3e518607c7f32282b7d05cb1 (patch)
tree3e4c03d925893894d3e57c716df4058266bb42cf /devel
parentc9cbecf3464843090af0d68d5c96356b6507c5fe (diff)
downloadpkgsrc-31da5a701d7d03bd3e518607c7f32282b7d05cb1.tar.gz
deepstate: approximately x86_64-only, but do our best anyway
Diffstat (limited to 'devel')
-rw-r--r--devel/deepstate/Makefile.common14
1 files changed, 13 insertions, 1 deletions
diff --git a/devel/deepstate/Makefile.common b/devel/deepstate/Makefile.common
index 4ece4522498..7df735b2259 100644
--- a/devel/deepstate/Makefile.common
+++ b/devel/deepstate/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2020/09/29 03:17:19 khorben Exp $
+# $NetBSD: Makefile.common,v 1.3 2021/05/30 12:17:48 nia Exp $
#
# used by devel/deepstate/Makefile
# used by devel/deepstate-afl/Makefile
@@ -19,3 +19,15 @@ COMMENT= Augments C/C++ Test-Driven Development with Symbolic Execution
LICENSE= apache-2.0
DISTINFO_FILE= ${.CURDIR}/../../devel/deepstate/distinfo
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+# Wants to build 32-bit binaries with -m32, which is unsupported on
+# NetBSD/aarch64.
+BROKEN_EXCEPT_ON_PLATFORM= ${LP64PLATFORMS}
+BROKEN_ON_PLATFORM+= NetBSD-*-aarch64
+BROKEN_ON_PLATFORM+= NetBSD-*-aarch64eb
+
+.if ${MACHINE_ARCH} != "x86_64"
+BUILDLINK_TRANSFORM+= rm:-mno-avx
+.endif