package/bullet: fix build failure due to gcc bug 101952
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Tue, 17 Aug 2021 21:31:12 +0000 (23:31 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 19 Aug 2021 20:41:44 +0000 (22:41 +0200)
commitb785de9f3f4f87732a657ded2809706763502163
tree7c44d5fe80b9180e55038dda93b3111b381c3918
parentb8417ceee078df531be2ec3555f60b0a07ae4a0c
package/bullet: fix build failure due to gcc bug 101952

The bullet package exhibits gcc bug 101952 when built for the SH4
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_101952=y like we
already do for BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y.

Fixes:
http://autobuild.buildroot.net/results/32b/32bfaf0aae57ed18c18e82a72a958af9b3e1b241/

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