diff options
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -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 @@ -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 \ |