package/binutils: fix building or1k with host gcc version < 5
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Wed, 9 Jun 2021 16:27:53 +0000 (18:27 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 18 Jul 2021 20:28:08 +0000 (22:28 +0200)
commit747e2eed880b70c085bb93b34a6e1558ae49b6d0
tree84971b6196bf77814af2474d808c9af40565760b
parent5540b789479c4b1a5b67c6ba35d3403da86f7f6c
package/binutils: fix building or1k with host gcc version < 5

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>
package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch [new file with mode: 0644]
package/binutils/2.34/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch [new file with mode: 0644]
package/binutils/2.35.2/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch [new file with mode: 0644]
package/binutils/2.36.1/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch [new file with mode: 0644]