belle-sip package fails to build for the Nios2 architecture with
optimization enabled with gcc < 8.x:
http://autobuild.buildroot.net/results/
71f26fd81db8e9b19b3f18f3f3cefd9c768f094f/
It's been reported upstream:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
bool
default y if BR2_nios2 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9
+# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410
+# Error: branch offset out of range on Nios II. This bug
+# no longer exists in gcc >= 8.x.
+config BR2_TOOLCHAIN_HAS_GCC_BUG_99140
+ bool
+ default y if BR2_nios2 && !BR2_TOOLCHAIN_GCC_AT_LEAST_8
+
config BR2_TOOLCHAIN_HAS_NATIVE_RPC
bool