Add patches to fix building on hosts that provide gcc version < 5
(i.e. 4.9), otherwise they fail due to missing default '-std=gnu11' option
on variable declaration inside for loops.
The patch is pending upstream:
https://sourceware.org/pipermail/binutils/2021-June/116884.html
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
0001-sh-conf.patch | ||
0002-poison-system-directories.patch | ||
0003-bfd-elf32-or1k-fix-ld-assert.patch | ||
0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch | ||
0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch |