package/flashrom: disable -Werror

Disable -Werror to avoid the following build failure raised since bump
to version 1.3.0 in commit 073b0fc9c1:

chipset_enable.c:27: error: "_LARGEFILE64_SOURCE" redefined [-Werror]
   27 | #define _LARGEFILE64_SOURCE
      |
<command-line>: note: this is the location of the previous definition

Fixes:
 - http://autobuild.buildroot.org/results/b8d8c30d1306c2ba8f59b48f457a7ef930306b8c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2023-10-30 14:10:52 +01:00 committed by Thomas Petazzoni
parent e6724f3a72
commit ad98e52090

View File

@ -9,6 +9,7 @@ FLASHROM_SOURCE = flashrom-v$(FLASHROM_VERSION).tar.bz2
FLASHROM_SITE = https://download.flashrom.org/releases
FLASHROM_LICENSE = GPL-2.0+
FLASHROM_LICENSE_FILES = COPYING
FLASHROM_MAKE_OPTS = WARNERROR=no
ifeq ($(BR2_PACKAGE_LIBFTDI),y)
FLASHROM_DEPENDENCIES += host-pkgconf libftdi