Advertisement
shssoichiro

znedi3 x86 asm fix

Jul 26th, 2022
1,066
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.87 KB | None | 0 0
  1. From 745bca7e507f53747f883fc87a554a54902aa220 Mon Sep 17 00:00:00 2001
  2. From: Josh Holmer <jholmer.in@gmail.com>
  3. Date: Tue, 26 Jul 2022 02:45:36 -0400
  4. Subject: [PATCH] Fix x86 assembly compilation
  5.  
  6. ---
  7. PKGBUILD | 5 +++--
  8.  1 file changed, 3 insertions(+), 2 deletions(-)
  9.  
  10. diff --git a/PKGBUILD b/PKGBUILD
  11. index 3096bc1..9448fa9 100644
  12. --- a/PKGBUILD
  13. +++ b/PKGBUILD
  14. @@ -49,9 +49,10 @@ prepare() {
  15.  
  16.  build() {
  17.    cd "${_plug}"
  18. -  CXXFLAGS+=" -std=c++14 -O2 -fPIC -fvisibility=hidden -DX86=1 -DX86_AVX512=1"
  19. +  CXXFLAGS+=" -std=c++14 -O2 -fPIC -fvisibility=hidden -fplt"
  20.    CPPFLAGS+=" -DNNEDI3_WEIGHTS_PATH=\\\"/usr/lib/vapoursynth/nnedi3_weights.bin\\\" -DGRAPHENGINE_IMPL_NAMESPACE=znedi3 $(pkg-config --cflags vapoursynth) -Igraphengine/include -Iznedi3 -Ivsxx"
  21. -  LC_ALL=C make V=1
  22. +  LDFLAGS="${LDFLAGS/-z,now/-z,lazy}"
  23. +  LC_ALL=C make V=1 X86=1 X86_AVX512=1
  24.  }
  25.  
  26.  package(){
  27. --
  28. 2.37.1
  29.  
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement