package/brotli: work around gcc bug 68485
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Mon, 27 May 2019 21:38:23 +0000 (23:38 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 27 May 2019 22:09:03 +0000 (00:09 +0200)
commit39dde1ffb6a7111c2fa2b340c940e4d3e685aa29
tree7c2596547b57b5b88c6dcb4fc9fc1d1e4354a074
parent56b6bd893a3ed45511a97f18a8c61d74e093cd4b
package/brotli: work around gcc bug 68485

With Microblaze Gcc version <= 9.x the build fails due to gcc bug 68485:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. The bug show up when
building brotli with optimization but not when building with -O0. To
work around this, if BR2_TOOLCHAIN_HAS_GCC_BUG_68458=y, we force using
-O0.

Fixes:

  http://autobuild.buildroot.net/results/d86/d86251974a0a348a64d9a1d1fd7d02dd4aff0792/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/brotli/brotli.mk