You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scummvm builds fine with LTO. It does however fail to configure due to the usual rubbish endianness test. Bypass it (or maybe try adding "-shared") and its fine.
Ok, I found some time to try this out and you are right, it builds fine with LTO. As suggested I tried it out by adding -shared to the test with a small patch and it compilled fine. I'm including the patch in case it helps anyone lto_endianness_test_fix.patch
Activity
alanswanson commentedon Mar 23, 2021
Scummvm builds fine with LTO. It does however fail to configure due to the usual rubbish endianness test. Bypass it (or maybe try adding "-shared") and its fine.
obi1 commentedon Sep 11, 2021
Ok, I found some time to try this out and you are right, it builds fine with LTO. As suggested I tried it out by adding -shared to the test with a small patch and it compilled fine. I'm including the patch in case it helps anyone lto_endianness_test_fix.patch