mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
samba4 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, but this is only available starting with gcc 7 [0] [1]. Only one package selects samba4, mpd, but it already depends on gcc >= 12. As such, we do not need to propagate that new dependency. Fixes: https://autobuild.buildroot.net/results/b60/b606da691bb462879d4f9769928b5a40b9170837/ [0] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57583#c15 [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57583#c16 Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
2.0 KiB
2.0 KiB