package/harfbuzz: work around arc gcc10 bug
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Wed, 8 Sep 2021 21:57:40 +0000 (23:57 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 11 Sep 2021 15:25:57 +0000 (17:25 +0200)
commit3245874961152628877d1fb8cd14406aa4c8bd6a
tree936a9d7590f4b675b63dc05402152ee61bce1129
parentbd8e9f051d3e2e3b931721739493569da451fa3b
package/harfbuzz: work around arc gcc10 bug

With BR2_GCC_VERSION_ARC=y(arc gcc10) harfbuzz package exhibits a gcc bug
that makes build to fail. This bug is found only in official arc gcc10
provided by Synopsis, so we can't use the BR2_TOOLCHAIN_HAS_GCC_BUG_
approach since bug can't be even filed in gcc bugzilla.
To work around this, if BR2_GCC_VERSION_ARC=y we force using -O0.

Fixes:
http://autobuild.buildroot.net/results/e4d/e4da9ba40c8f4567601d404e20dd6a0b322210c2/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/harfbuzz/harfbuzz.mk