crossgcc: Ensure that GMP is built for a generic CPU on x86
commit80370ff991e9a65560ac1378b94f2a08f26e7883
authorPatrick Georgi <pgeorgi@google.com>
Wed, 2 Sep 2020 17:53:11 +0000 (2 19:53 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 3 Sep 2020 18:47:09 +0000 (3 18:47 +0000)
tree4d13ae0b777ea9334b8ae5bc84c3b5d2478a8be3
parent7c4956df35b05c478daf0e02c3fad18f717c3b02
crossgcc: Ensure that GMP is built for a generic CPU on x86

While GMP supports fat builds on x86 that adapt to the CPU's
capabilities, by default it builds for the CPU of the builder.
Running that binary on an older CPU then can fail.

Change-Id: Iafdc2eb696189b9e2c5ead316f310d98c949ef74
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45044
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
util/crossgcc/patches/gmp-6.2.0_generic-build.patch [new file with mode: 0644]