Skip to content

main/gmp: fix cross building

linear requested to merge goshhhy/aports:gmp-bootstrap-fix into master

i found this while working on my fledgling m68k port, but is not specific to it.

lto is not enabled in the bootstrap binutils. attempting to use it will cause link failures. because of this, building gmp fails in the configure stage when it checks if the compiler works. with this change, i am able to cross-build gmp, and the bootstrap progresses much further.

Merge request reports