From bca06e42d6841c5fb8e1efa43ccde9921029ccff Mon Sep 17 00:00:00 2001 From: Celeste <20312-Celeste@users.gitlab.alpinelinux.org> Date: Wed, 8 May 2024 03:32:09 +0000 Subject: [PATCH] community/qbs: upgrade to 2.4.0 --- community/qbs/APKBUILD | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/community/qbs/APKBUILD b/community/qbs/APKBUILD index 7555bf688a4..6583671eb0f 100644 --- a/community/qbs/APKBUILD +++ b/community/qbs/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: pkgname=qbs -pkgver=2.3.0 +pkgver=2.4.0 pkgrel=0 pkgdesc="Cross platform Qt build tool" url="https://wiki.qt.io/Qbs" @@ -12,6 +12,14 @@ builddir="$srcdir/qbs-src-$pkgver" options="!check" # todo build() { + case "$CARCH" in + arm*|aarch64|riscv64|loongarch64) + # not supported by clang here + export CFLAGS="${CFLAGS/-fstack-clash-protection}" + export CXXFLAGS="${CXXFLAGS/-fstack-clash-protection}" + ;; + esac + CC=clang CXX=clang++ \ cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ @@ -32,5 +40,5 @@ package() { } sha512sums=" -6611ce02b0dc4f4a0cc68a13a7c684c07061d3fff57d2ca16470fffa253ff23f45349d86ad4ba4c0eab681f74f3c92cddd85daedf1f31fd1a7eae5bddb606cb6 qbs-src-2.3.0.tar.gz +c1698d4d97c79983d0e1c86a32c12b7a1b85f1f031c9dc1f94bc0a2a6f29a840c5aa3fee7ffb7477e6fe7a8cd171f09afac1eca048440de90903be2474cfd18c qbs-src-2.4.0.tar.gz "