package/pixman: fix build failure due to gcc bug 101737
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Tue, 3 Aug 2021 08:42:45 +0000 (10:42 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 5 Aug 2021 19:30:23 +0000 (21:30 +0200)
commita8a9b12766a434e7d70cd246689d4de11d440875
tree8bc31b787175e4b42151f0511a654b7ba5e7601b
parent4b22106fb5e199aa26f148b0b159aecb7da7f7e0
package/pixman: fix build failure due to gcc bug 101737

The pixman package exhibits gcc bug 101737 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_101737=y.
Also let's add PIXMAN_CFLAGS and pass the Codesourcery work around CFLAGS
to it for consistency like we do for the rest of the packages.

Fixes:
http://autobuild.buildroot.net/results/b20/b20869bbb48edb1f0a847ea9e2e1a0462d6350be/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/pixman/pixman.mk