buildroot/package/apitrace
Giulio Benetti fdee6c9f39 package/apitrace: fix build failure on m68k architecture
apitrace uses very big switch statements, which causes the build to fail
on m68k, because the offsets there are only 16-bit.

We fix that by using -mlong-jump-table-offsets on m68k, to use 32-bit
offsets for switch statements. That flag is available on gcc version >= 7
but apitrace package already depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7, so
we can use it with no problem.

Fixes:
http://autobuild.buildroot.net/results/7306bf05962fec30fbe98b1eb8ee09b3162b8080/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-01-30 22:55:46 +01:00
..
0001-thirdparty-libbacktrace-backtrace-h-include-config.h.patch
0002-gltrace-Avoid-__libc_dlsym-and-__libc_dlopen_mode-on-GLIBC-2-34.patch
Config.in
apitrace.hash
apitrace.mk package/apitrace: fix build failure on m68k architecture 2022-01-30 22:55:46 +01:00