summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072024-02-25 13:41:13 +0100
committersL1pKn072024-02-25 13:41:13 +0100
commitc7bffe1e4785fed59d6a9f9b1d4c7396ab45d082 (patch)
tree2ba379500d2809cc1af99ff8d69402c0fdc93dec
parent315d9833678d8f302cf24af8d07577354587c1d5 (diff)
downloadaur-c7bffe1e4785fed59d6a9f9b1d4c7396ab45d082.tar.gz
try fix(?)
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 316add429ed0..fd1fcc501a6f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -20,6 +20,7 @@ pkgbase = x262-git
depends = libxcb
provides = x262
conflicts = x262
+ options = debug
source = git+https://git.videolan.org/git/x262.git
source = git+https://github.com/ffmpeg/ffmpeg.git#tag=n2.7.7
source = git+https://github.com/FFMS/ffms2.git#tag=2.20
diff --git a/PKGBUILD b/PKGBUILD
index f81ec3d40783..4f6ff6919506 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -36,6 +36,7 @@ sha256sums=(
'SKIP'
'a50d7da9870a3fd801ad3a4d13d5c9b260acb094cf8bfa4afd95a54741173a7f'
)
+options=('debug')
pkgver() {
cd x262
@@ -49,6 +50,9 @@ prepare() {
}
build() {
+ export CFLAGS="${CFLAGS/-march=x86-64 -mtune=generic/-march=native}"
+ export CXXFLAGS="${CXXFLAGS/-march=x86-64 -mtune=generic/-march=native}"
+
msg2 "Build FFmpeg"
cd "${srcdir}/build-ffmpeg"
../ffmpeg/configure \