kodi: fix build on 32-bit builders.

ld was running out of memory at link time.

Since we are here, set LDFLAGS initially instead of adding to it.
This commit is contained in:
Érico Nogueira 2021-04-15 23:13:49 -03:00
parent 2d877fa9c5
commit c8ad668ea4

View file

@ -34,7 +34,11 @@ skip_extraction="crossguid-8f399e8bd4.tar.gz libdvdcss-1.4.2-Leia-Beta-5.tar.gz
libdvdread-6.0.0-Leia-Alpha-3.tar.gz libdvdnav-6.0.0-Leia-Alpha-3.tar.gz"
python_version=3
patch_args="-Np1"
LDFLAGS+=" -Wl,-z,stack-size=1048576"
LDFLAGS="-Wl,-z,stack-size=1048576"
if [ "$XBPS_WORDSIZE" = 32 ]; then
LDFLAGS+=" -Wl,--no-keep-memory"
fi
lib32disabled=yes
archs="i686* x86_64* aarch64*