boot/afboot-stm32: fix build with gcc 10
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 10 Sep 2020 09:46:08 +0000 (11:46 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 10 Sep 2020 18:26:27 +0000 (20:26 +0200)
commit1c967e2c8c07534d2ccf0451eebfc653efb02b9f
treee1a6833a2f61af71a3c88b6e3f2bf0792588d2ca
parentbea67e6fdecc9100bbe05e48b1c3bd471ec8426c
boot/afboot-stm32: fix build with gcc 10

This commit adds a patch that passes -fno-builtin to fix the build
with gcc 10. The patch has been submitted upstream.

There are no autobuilder failures, since it's a bootloader package,
and therefore not tested by the autobuilders. However, a build failure
was detected when building toolchains and a minimal ARMv7-M system at
https://gitlab.com/bootlin/toolchains-builder/-/jobs/729359529.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch [new file with mode: 0644]