aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ffsend
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ffsend')
-rw-r--r--testing/ffsend/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/ffsend/APKBUILD b/testing/ffsend/APKBUILD
index 0722846a78..3179b97d0e 100644
--- a/testing/ffsend/APKBUILD
+++ b/testing/ffsend/APKBUILD
@@ -11,6 +11,12 @@ makedepends="cargo openssl-dev"
source="https://gitlab.com/timvisee/ffsend/-/archive/v$pkgver/ffsend-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
+case "$CARCH" in
+ x86)
+ export CFLAGS="$CFLAGS -fno-stack-protector"
+ ;;
+esac
+
build() {
cargo build --release
}