mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/dump1090: disable -Werror
Fixes build error with gcc 16.x:
interactive.c: In function 'interactiveShowData':
interactive.c:334:49: error: '%5d' directive output may be truncated
writing between 5 and 11 bytes into a region of size 7
[-Werror=format-truncation=]
334 | snprintf(strFl, sizeof(strFl), "%5d ", convert_altitude(modeC * 100));
| ^~~
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
e4ac5015b9
commit
e9f6b03f03
@@ -11,6 +11,11 @@ DUMP1090_LICENSE_FILES = LICENSE
|
|||||||
DUMP1090_DEPENDENCIES = host-pkgconf ncurses
|
DUMP1090_DEPENDENCIES = host-pkgconf ncurses
|
||||||
DUMP1090_MAKE_OPTS = BLADERF=no CPUFEATURES=no LIMESDR=no
|
DUMP1090_MAKE_OPTS = BLADERF=no CPUFEATURES=no LIMESDR=no
|
||||||
|
|
||||||
|
define DUMP1090_NO_WERROR
|
||||||
|
$(SED) 's/-Werror//' $(@D)/Makefile
|
||||||
|
endef
|
||||||
|
DUMP1090_POST_PATCH_HOOKS += DUMP1090_NO_WERROR
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_HACKRF),y)
|
ifeq ($(BR2_PACKAGE_HACKRF),y)
|
||||||
DUMP1090_DEPENDENCIES += hackrf
|
DUMP1090_DEPENDENCIES += hackrf
|
||||||
DUMP1090_MAKE_OPTS += HACKRF=yes
|
DUMP1090_MAKE_OPTS += HACKRF=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user