void-packages/srcpkgs/Carla/patches/fix-armv6l-build.patch

14 lines
334 B
Diff

--- a/source/Makefile.deps.mk
+++ b/source/Makefile.deps.mk
@@ -526,6 +526,10 @@
JUCE_GUI_EXTRA_LIBS =
endif
+ifneq (,$(findstring arm-,$(TARGET_MACHINE)))
+JUCE_CORE_LIBS += -latomic
+endif
+
endif
# ---------------------------------------------------------------------------------------------------------------------