mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
kodi: fix gold linker options
- ENABLE_LDGOLD was changed to ENABLE_GOLD in https://github.com/xbmc/xbmc/pull/20891
This commit is contained in:
parent
e7e3038b06
commit
64149d6396
@ -19,6 +19,15 @@ configure_package() {
|
||||
PKG_KODI_USE_LTO="-DUSE_LTO=${CONCURRENCY_MAKE_LEVEL}"
|
||||
fi
|
||||
|
||||
# Set linker options
|
||||
if [ "${GOLD_SUPPORT}" = "yes" ]; then
|
||||
PKG_KODI_LINKER="-DENABLE_GOLD=ON \
|
||||
-DENABLE_MOLD=OFF"
|
||||
else
|
||||
PKG_KODI_LINKER="-DENABLE_GOLD=OFF \
|
||||
-DENABLE_MOLD=OFF"
|
||||
fi
|
||||
|
||||
get_graphicdrivers
|
||||
|
||||
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
||||
@ -232,7 +241,6 @@ configure_package() {
|
||||
-DENABLE_CCACHE=OFF \
|
||||
-DENABLE_LIRCCLIENT=ON \
|
||||
-DENABLE_EVENTCLIENTS=ON \
|
||||
-DENABLE_LDGOLD=ON \
|
||||
-DENABLE_DEBUGFISSION=OFF \
|
||||
-DENABLE_APP_AUTONAME=OFF \
|
||||
-DENABLE_TESTING=OFF \
|
||||
@ -240,6 +248,7 @@ configure_package() {
|
||||
-DENABLE_LCMS2=OFF \
|
||||
-DADDONS_CONFIGURE_AT_STARTUP=OFF \
|
||||
${PKG_KODI_USE_LTO} \
|
||||
${PKG_KODI_LINKER} \
|
||||
${KODI_ARCH} \
|
||||
${KODI_NEON} \
|
||||
${KODI_VDPAU} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user