package/python-brotli: fix build failure due to gcc bug 68485
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Thu, 5 Dec 2019 11:16:50 +0000 (12:16 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 5 Dec 2019 20:37:01 +0000 (21:37 +0100)
commitdec2e0449d50d71219b4d94bc5547cce50a85163
treeb475b4f5c8b1e0e23266528fd41cf90ea3d50767
parentd1f1947af12fc47933c7ea8fa90fc40d423affd2
package/python-brotli: fix build failure due to gcc bug 68485

The python-brotli 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/24b/24b23175ab27615fb377bb4d5f6c656dccf10a86/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/python-brotli/python-brotli.mk