From 581c5093c60e5247907ae8657e7d1a2df7daec22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 24 May 2018 10:05:35 +0200 Subject: [PATCH] Added libatomic to riscv64 builds --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 0fa6998..58e9778 100755 --- a/debian/rules +++ b/debian/rules @@ -18,12 +18,12 @@ LIBS=$(shell pkg-config --libs libjpeg libpng) # JUCE (used by giada) uses some c++11 features requiring atomic_store_8 and # atomic_load_8, so we need to link with libatomic on -# armel, powerpc, powerpcspe, m68k, mips, mipsel, and sh4 +# armel, powerpc, powerpcspe, m68k, mips, mipsel, sh4, ... # see also: # - https://gcc.gnu.org/wiki/Atomic # - https://gcc.gnu.org/wiki/Atomic/GCCMM/LIbrary # - the 'clasp' packaging -noatomicarch = $(shell dpkg-architecture -qDEB_HOST_ARCH | egrep -x "(armel|powerpc|powerpcspe|m68k|mips|mipsel|sh4)") +noatomicarch = $(shell dpkg-architecture -qDEB_HOST_ARCH | egrep -x "(armel|powerpc|powerpcspe|m68k|mips|mipsel|sh4|riscv64)") # link with libatomic on architectures without built-in atomic ifeq ($(if $(noatomicarch),atomic), atomic) LIBS += -latomic -- 2.30.2