[packages/kodi] add bcond for gold linker

atler atler at pld-linux.org
Sat Nov 13 01:14:24 CET 2021


commit b99e5c75dcf5309e3c630e47ba305bbc8323f6b4
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Nov 13 01:13:52 2021 +0100

    add bcond for gold linker

 kodi.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/kodi.spec b/kodi.spec
index ba8453a..8c385d3 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -17,6 +17,7 @@
 %else
 %bcond_with	gles		# OpenGLES rendering
 %endif
+%bcond_with	gold		# Use gold linker
 %bcond_without	wayland		# Wayland platform
 # System libs:
 %bcond_without	system_ffmpeg	# build with system ffmpeg
@@ -228,7 +229,7 @@ Header files for Kodi.
 	-DENABLE_INTERNAL_RapidJSON:BOOL=OFF \
 	-DENABLE_INTERNAL_SPDLOG:BOOL=OFF \
 	-DENABLE_INTERNAL_UDFREAD:BOOL=OFF \
-	-DENABLE_LDGOLD:BOOL=OFF \
+	%{cmake_on_off gold ENABLE_LDGOLD} \
 	-DENABLE_TESTING:BOOL=OFF \
 	%{cmake_on_off optical_drive ENABLE_OPTICAL} \
 	%{cmake_on_off upnp ENABLE_UPNP} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kodi.git/commitdiff/b99e5c75dcf5309e3c630e47ba305bbc8323f6b4



More information about the pld-cvs-commit mailing list