Carla: fix armv6* build
This commit is contained in:
parent
ae5f9735b2
commit
a813dc10a6
2 changed files with 17 additions and 0 deletions
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"
|
export LDFLAGS="-lfts"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$XBPS_NO_ATOMIC8" ]; then
|
||||||
|
hostmakedepends+=" libatomic-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
vsed -i -e 's#\./carla-lv2-export#/usr/bin/carla-lv2-export#g' \
|
vsed -i -e 's#\./carla-lv2-export#/usr/bin/carla-lv2-export#g' \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue