package/prboom: work around gcc bug 85180
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Wed, 26 Jun 2019 12:58:59 +0000 (14:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 3 Aug 2019 10:57:46 +0000 (12:57 +0200)
commit801c83da19163a07b91d3a85a56226fd22832501
treefa6ce9a7b92ce3506a2de4382ba4ab2dfbb2c847
parent34bcc4c6b003087673cf5faf3a896154b9425f75
package/prboom: work around gcc bug 85180

With Microblaze Gcc version < 8.x the build hangs due to gcc bug
85180: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. The bug
shows up when building prboom with optimization but not when building
with -O0. To work around this, if BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y we
force using -O0.

Fixes:
http://autobuild.buildroot.net/results/e72/e72a2070ab7e9a093c3c70002ee94ee57a6154f6/

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