Carla: fix armv6* build
This commit is contained in:
13
srcpkgs/Carla/patches/fix-armv6l-build.patch
Normal file
13
srcpkgs/Carla/patches/fix-armv6l-build.patch
Normal 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
|
||||
|
||||
# ---------------------------------------------------------------------------------------------------------------------
|
||||
@@ -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' \
|
||||
|
||||
Reference in New Issue
Block a user