package/lua-cqueues: fix build failure due to gcc bug 68485
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Fri, 14 Jun 2019 21:03:36 +0000 (23:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 19 Jun 2019 19:55:10 +0000 (21:55 +0200)
commitf3fa156fbf192ad2ffb7183ea9757e112ea8c755
treee642ca30c04d73f4c22543f03607c6099d6fd100
parent01322e386f5d1a45bce433b5a4ff722e92e0ab0b
package/lua-cqueues: fix build failure due to gcc bug 68485

The lua-cqueues package exhibits gcc bug 68485 when built for the
Microblaze architecture with optimization enabled, which causes a
build failure.

As done for other packages in Buildroot work around this gcc bug by
setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y.

Fixes:

  http://autobuild.buildroot.net/results/c35964dda4e2328c2c1f3b2388677b68c5ed461e/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/lua-cqueues/lua-cqueues.mk