package/belle-sip: fix build failure due to gcc bug 99410
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Fri, 5 Mar 2021 15:15:29 +0000 (16:15 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 6 Mar 2021 15:46:46 +0000 (16:46 +0100)
commitbf89616368ce8eb3212aea5212145e9e4ed8c0cd
tree72ed5598fb067bd11eb8c461e029bfee9032a91c
parentd667267b8f7acdb54993981813aaa05d97fdbebe
package/belle-sip: fix build failure due to gcc bug 99410

The belle-sip package exhibits gcc bug 99410 when built for the Nios2
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_99410=y.

Fixes:
http://autobuild.buildroot.net/results/71f26fd81db8e9b19b3f18f3f3cefd9c768f094f/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/belle-sip/belle-sip.mk