package/proj: fix build failure due to gcc bug 68485
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Tue, 25 Jun 2019 06:44:36 +0000 (08:44 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 1 Aug 2019 13:36:00 +0000 (15:36 +0200)
commitc99665cde7e47e6eee0aa6ced2d5fed92f716a51
tree8557e458f780f4543c7f3fa779837133c019feb7
parent360cf8f0fd35db8f1a9e87d9e9d494b5aa059ef1
package/proj: fix build failure due to gcc bug 68485

The proj 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/e61/e61bd55067071415223e523a81de3c2e9cafea6f/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Tested-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Acked-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/proj/proj.mk