package/uboot-tools: fix build on hosts with old compilers
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 30 Mar 2019 14:40:50 +0000 (15:40 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 30 Mar 2019 14:43:40 +0000 (15:43 +0100)
commitf27b9667b5e3b7b758d46804e4aa9a221cafd34e
tree36ad19d8abc5e8fc309ada649379b0f8b13fd578
parent25fee582c184474db40edcdde6b5e5b6f1067078
package/uboot-tools: fix build on hosts with old compilers

The U-Boot tools code uses some C99 constructs, but old compilers such
as gcc 4.7 don't default to -std=c99. This commit adds a patch,
submitted upstream, that makes sure host tools are built with
-std=gnu99 (because the U-Boot code uses GNU extensions).

Fixes:

  http://autobuild.buildroot.net/results/5cc55f5eabd5005e071ad4eabab8202604ac7b66/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/uboot-tools/0004-tools-Makefile-build-host-tools-with-std-gnu99.patch [new file with mode: 0644]