Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUILD: Fix Dreamcast crt0 link order
Correct a regression introduced in 7557f17 which caused the Dreamcast to hang at the license screen when running SCUMMVM.BIN from a CD. 7557f17 fixed configure's feature detection by moving crt0.o from LDFLAGS to LIBS, but that changed the linking order resulting in the start symbol from crt0 being located at an address other than 0x8c010000. ELF binaries loaded over serial or TCP/IP were unaffected (presumably because the loaders use the start address from the ELF header instead of a fixed address) which is probably why this went unnoticed. This commit corrects the link order by moving crt0 back into LDFLAGS and adds "-lronin -lm" to LDFLAGS to ensure that configure checks continue to work.
- Loading branch information