uboot-tools: force host CFLAGS
authorBaruch Siach <baruch@tkos.co.il>
Fri, 10 Aug 2018 05:37:21 +0000 (08:37 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 10 Aug 2018 08:34:11 +0000 (10:34 +0200)
commit03a808a0999ac031a1e93000d9a3c50ffbcb64a4
tree509db358e541c509a307ee386ffc76a5690cec4d
parent5f201de0dca4f7ed9bd2be9d836fbb7955f5b572
uboot-tools: force host CFLAGS

U-Boot now adds -std=gnu11 when building its build utilities, like
fixdep. This option is only supported since gcc version 4.7.

  https://gcc.gnu.org/gcc-4.7/changes.html

Force usage of Buildroot HOST_CFLAGS, like we do already for
host-uboot-tools, to avoid the -std=gnu11 option.

Fixes:
http://autobuild.buildroot.net/results/ea0/ea09b614a3c10d494939d9551c0c3bfca4626ece/
http://autobuild.buildroot.net/results/f8e/f8efd9af4d86c51fe4f5afe44db9abf9adc5718f/
http://autobuild.buildroot.net/results/c0a/c0ab35c3cb46f84863fe20c0ee92ecc2379578b6/

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/uboot-tools/uboot-tools.mk