[packages/svt-hevc] - pass CMAKE_ASM_NASM_OBJECT_FORMAT to fix x32 build

qboosh qboosh at pld-linux.org
Mon Apr 4 19:49:26 CEST 2022


commit 920b015f92049c91494197d34dc57ad40b1a7349
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 4 19:49:11 2022 +0200

    - pass CMAKE_ASM_NASM_OBJECT_FORMAT to fix x32 build

 svt-hevc.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/svt-hevc.spec b/svt-hevc.spec
index 9c83add..b72bd96 100644
--- a/svt-hevc.spec
+++ b/svt-hevc.spec
@@ -46,7 +46,10 @@ Pliki nagłówkowe biblioteki SVT-HEVC.
 %build
 install -d build
 cd build
-%cmake ..
+%cmake .. \
+%ifarch x32
+	-DCMAKE_ASM_NASM_OBJECT_FORMAT=elfx32
+%endif
 
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/svt-hevc.git/commitdiff/920b015f92049c91494197d34dc57ad40b1a7349



More information about the pld-cvs-commit mailing list