libva-v4l2-request-fourier: -Db_lto=false (closes #17) #18
@@ -36,7 +36,7 @@ _commit=7ac934e0c5420814c7a5fc3e2a2f08251d590d9e
|
|||||||
# build time by pkgver() below; the static value here is a placeholder
|
# build time by pkgver() below; the static value here is a placeholder
|
||||||
# so AUR-style consumers see something coherent before src/ exists.
|
# so AUR-style consumers see something coherent before src/ exists.
|
||||||
pkgver=1.0.0.r348.7ac934e
|
pkgver=1.0.0.r348.7ac934e
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="VA-API backend for V4L2 stateless decoders (multiplanar fork — fourier umbrella)"
|
pkgdesc="VA-API backend for V4L2 stateless decoders (multiplanar fork — fourier umbrella)"
|
||||||
arch=('aarch64')
|
arch=('aarch64')
|
||||||
url="https://git.reauktion.de/marfrit/libva-v4l2-request-fourier"
|
url="https://git.reauktion.de/marfrit/libva-v4l2-request-fourier"
|
||||||
@@ -61,7 +61,15 @@ build() {
|
|||||||
cd "${srcdir}/${_upstreampkg}-fourier"
|
cd "${srcdir}/${_upstreampkg}-fourier"
|
||||||
# meson_options.txt only exposes 'kernel_headers' — leave it empty to
|
# meson_options.txt only exposes 'kernel_headers' — leave it empty to
|
||||||
# use system /usr/include kernel UAPI headers. No per-codec toggles.
|
# use system /usr/include kernel UAPI headers. No per-codec toggles.
|
||||||
arch-meson build --buildtype=release
|
#
|
||||||
|
# b_lto=false: override arch-meson's wrapper default of `-D b_lto=true`,
|
||||||
|
# which the makepkg.conf OPTIONS=(..., !lto, ...) line does NOT actually
|
||||||
|
# override (arch-meson hard-codes b_lto=true). The hand-built reproducer
|
||||||
|
# from issue #17 shows: LTO/ICF kernel-folds per-codec helpers and HEVC's
|
||||||
|
# multi-control-struct chain (SPS+PPS+DECODE_PARAMS+SLICE_PARAMS) gets a
|
||||||
|
# wrong helper-instance pulled in at vaEndPicture → segfault. The 4 other
|
||||||
|
# codecs (single-control-struct) tolerate the folding by accident.
|
||||||
|
arch-meson build --buildtype=release -Db_lto=false
|
||||||
meson compile -C build
|
meson compile -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user