]> git.pld-linux.org Git - packages/kodi.git/commitdiff
add bcond for gold linker
authorJan Palus <atler@pld-linux.org>
Sat, 13 Nov 2021 00:13:52 +0000 (01:13 +0100)
committerJan Palus <atler@pld-linux.org>
Sat, 13 Nov 2021 00:13:52 +0000 (01:13 +0100)
kodi.spec

index ba8453ada1db69dd4af96ab4cb14482d5f2b7c42..8c385d3bfefa3d88026cc4573c5794da44244940 100644 (file)
--- 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} \
This page took 0.21319 seconds and 4 git commands to generate.