toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_90620
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Fri, 14 Jun 2019 21:03:40 +0000 (23:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 20 Jun 2019 15:10:25 +0000 (17:10 +0200)
commitefc53530cb30c97f849e5bfae5dca711a263199c
treef580d818c54c0c33b17afa1b31a3636da8933f5e
parentdc7fa8491c633a112709a038ba44cd9999be33b5
toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_90620

GCC fails building the haproxy package for the Microblaze architecture:

  http://autobuild.buildroot.org/results/64706f96db793777de9d3ec63b0a47d776cf33fd/

The gcc bug was originally reported gpsd:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620

This gcc bug no longer appeared with gcc 8.x but reappeared in gcc
9.x, so we introduce a config symbol so that packages can work it
around by disabling optimization.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
toolchain/Config.in