summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072024-02-25 15:10:03 +0100
committersL1pKn072024-02-25 15:10:03 +0100
commite72060ab3f6ada9b39efabb95666501bef78bc2b (patch)
treeabafdc484a464c3b30671a758f957453a593152c
parentc7bffe1e4785fed59d6a9f9b1d4c7396ab45d082 (diff)
downloadaur-e72060ab3f6ada9b39efabb95666501bef78bc2b.tar.gz
found it!
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD5
2 files changed, 2 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fd1fcc501a6f..366d21b57e7f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -21,6 +21,7 @@ pkgbase = x262-git
provides = x262
conflicts = x262
options = debug
+ options = !lto
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 4f6ff6919506..b14d289344e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -36,7 +36,7 @@ sha256sums=(
'SKIP'
'a50d7da9870a3fd801ad3a4d13d5c9b260acb094cf8bfa4afd95a54741173a7f'
)
-options=('debug')
+options=('debug' '!lto')
pkgver() {
cd x262
@@ -50,9 +50,6 @@ 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 \