mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/rav1e: fix build on x86
This commit is contained in:
parent
9fa23921c3
commit
9cd1bc2af9
@ -12,6 +12,10 @@ makedepends="cargo nasm"
|
||||
subpackages="$pkgname-doc $pkgname-libs"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/xiph/rav1e/archive/v$pkgver.tar.gz"
|
||||
|
||||
case "$CARCH" in
|
||||
x86) CFLAGS="$CFLAGS -fno-stack-protector" ;;
|
||||
esac
|
||||
|
||||
prepare() {
|
||||
RUSTFLAGS="-C opt-level=0" \
|
||||
cargo install --force --root "$srcdir" cargo-c
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user