From 6cc7d38a330620d565e0e14a8c877d0bb783e745 Mon Sep 17 00:00:00 2001 From: nia Date: Sat, 24 Sep 2022 07:46:31 +0000 Subject: [PATCH] vte3: Attempt to fix on aarch64 with workaround for GCC 10 toolchain bug --- x11/vte3/hacks.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 x11/vte3/hacks.mk diff --git a/x11/vte3/hacks.mk b/x11/vte3/hacks.mk new file mode 100644 index 000000000000..5d4713b6930c --- /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