summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkageru2020-04-11 19:01:18 +0200
committerkageru2020-04-11 19:01:18 +0200
commit23c1ee60bcf75ef53c471ec5fa98ddb2de68e7e9 (patch)
tree2563dc8b086ea0154fe697f514cb6f85f1835146
parent98a02c86d3ceca47627c05d17079fd27fd2d21fd (diff)
downloadaur-vapoursynth-plugin-adaptivegrain-git.tar.gz
set CPU architecture in build()
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9d2cf561e99b..a8b3ae998adf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vapoursynth-plugin-adaptivegrain-git
pkgdesc = Reimplementation of the adaptive grain mask as a Vapoursynth plugin
- pkgver = 0.2.0.22.g3307943
+ pkgver = 0.2.1.24.gcde9f66
pkgrel = 1
url = https://git.kageru.moe/kageru/adaptivegrain
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index ee4e71f8e9bf..beef7c476893 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_plug=adaptivegrain
pkgname=vapoursynth-plugin-${_plug}-git
-pkgver=0.2.0.22.g3307943
+pkgver=0.2.1.24.gcde9f66
pkgrel=1
pkgdesc='Reimplementation of the adaptive grain mask as a Vapoursynth plugin'
arch=('x86_64')
@@ -25,7 +25,7 @@ build() {
echo 'If the build fails with “no default toolchain configured”, you may need to set up rust.
When using rustup, this can be done via
rustup install stable && rustup default stable'
- cargo build --release --locked
+ RUSTFLAGS="$RUSTFLAGS -C target-cpu=native" cargo build --release --locked
}
package() {