libretro / Lakka-LibreELEC

Lakka is a lightweight Linux distribution that transforms a small computer into a full blown game console.
https://www.lakka.tv
1.76k stars 289 forks source link

Lakka v5.x : Fix vice core build fail (avoid multiple LDFLAGS) #1906

Closed ShigeakiAsai closed 11 months ago

ShigeakiAsai commented 11 months ago

Pull requests

In Lakka v5.x, there was vice core build fail, vice core was temporery removed on Sep 11.

I investigated into this.

I don't know the reason, but same LDFLAGS was set multiple (2 times). LDFLAGS contains "-version-script=". If LDFLAGS has two "-version-script=" , ld.bfd is failded with error message. Error message is : ld.bfd : anonymous version tag cannot be combined with other version tags

About fix (Patch) If LDFLAGS is contained "-version-script=" already, Do not set 2nd LDFLAGS.

Thanks and Sorry my storange English. ASAI, Shigeaki