Carla: fix armv6* build

This commit is contained in:
Duncaen 2022-10-08 14:10:48 +02:00
parent ae5f9735b2
commit a813dc10a6
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- a/source/Makefile.deps.mk
+++ b/source/Makefile.deps.mk
@@ -526,6 +526,10 @@
JUCE_GUI_EXTRA_LIBS =
endif
+ifeq (arm-linux-gnueabihf,$(TARGET_MACHINE)))
+JUCE_CORE_LIBS += -latomic
+endif
+
endif
# ---------------------------------------------------------------------------------------------------------------------

View File

@ -34,6 +34,10 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
export LDFLAGS="-lfts"
fi
if [ "$XBPS_NO_ATOMIC8" ]; then
hostmakedepends+=" libatomic-devel"
fi
post_patch() {
if [ "$CROSS_BUILD" ]; then
vsed -i -e 's#\./carla-lv2-export#/usr/bin/carla-lv2-export#g' \