[Buildroot] [PATCH 1/1] package/seatd: fix build with gcc < 7

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Aug 8 20:29:44 UTC 2021


On Sun,  8 Aug 2021 19:15:18 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Since its addition in commit daae31149017cbf8b03634cfc56da132f7e1ad83,
> seatd fails to build with gcc < 7 because it unconditonally uses
> -Wimplicit-fallthrough which is only available since gcc 7.1 and
> https://github.com/gcc-mirror/gcc/commit/81fea426da8c4687bb32e6894dc26f00ae211822
> resulting in the following build failure:
> 
> arm-none-linux-gnueabi-gcc: error: unrecognized command line option '-Wimplicit-fallthrough'
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/0ee6816a7cceebdafd07612677a594bdf68e0790
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  ...003-meson.build-fix-build-with-gcc-7.patch | 48 +++++++++++++++++++
>  1 file changed, 48 insertions(+)
>  create mode 100644 package/seatd/0003-meson.build-fix-build-with-gcc-7.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list