package/flashrom: disable -Werror
Disable -Werror to avoid the following build failure raised since switch to meson-package in commit37dded43ae: ../stlinkv3_spi.c: In function 'stlinkv3_spi_init': ../stlinkv3_spi.c:508:12: error: 'stlinkv3_handle' may be used uninitialized [-Werror=maybe-uninitialized] 508 | if (!stlinkv3_handle) { | ^ ../stlinkv3_spi.c:485:31: note: 'stlinkv3_handle' was declared here 485 | libusb_device_handle *stlinkv3_handle; | ^~~~~~~~~~~~~~~ Fixes:37dded43ae- http://autobuild.buildroot.org/results/eecabbdd0d21344991379a57e605845e73ef679e Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
f04a95f79f
commit
58983179e4
@@ -15,7 +15,8 @@ FLASHROM_CONF_OPTS = \
|
||||
-Dclassic_cli_print_wiki=disabled \
|
||||
-Dich_descriptors_tool=enabled \
|
||||
-Dtests=disabled \
|
||||
-Duse_internal_dmi=true
|
||||
-Duse_internal_dmi=true \
|
||||
-Dwerror=false
|
||||
|
||||
FLASHROM_PROGRAMMERS = \
|
||||
buspirate_spi \
|
||||
|
||||
Reference in New Issue
Block a user