summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-09-24 07:46:31 +0000
committernia <nia@pkgsrc.org>2022-09-24 07:46:31 +0000
commit0418c12fc3bdbb284aae7a95788692802d64a4a8 (patch)
treef480ce97509cdbfc5d116441f295ef7b5b3cb33c /x11
parentd176781274988135104edf1015f57585961299b5 (diff)
downloadpkgsrc-0418c12fc3bdbb284aae7a95788692802d64a4a8.tar.gz
vte3: Attempt to fix on aarch64 with workaround for GCC 10 toolchain bug
Diffstat (limited to 'x11')
-rw-r--r--x11/vte3/hacks.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11/vte3/hacks.mk b/x11/vte3/hacks.mk
new file mode 100644
index 00000000000..5d4713b6930
--- /dev/null
+++ b/x11/vte3/hacks.mk
@@ -0,0 +1,10 @@
+# $NetBSD: hacks.mk,v 1.1 2022/09/24 07:46:31 nia Exp $
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64*)
+# pty.cc:(.text+0x18): undefined reference to `__aarch64_ldadd4_acq_rel'
+# https://bugzilla.redhat.com/show_bug.cgi?id=1830472
+PKG_HACKS+= no-outline-atomics
+CFLAGS.NetBSD+= -march=armv8-a -mno-outline-atomics
+.endif