From ad98e52090c8bbd3b290b418df4f28205f6584ba Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 30 Oct 2023 14:10:52 +0100 Subject: [PATCH] package/flashrom: disable -Werror Disable -Werror to avoid the following build failure raised since bump to version 1.3.0 in commit 073b0fc9c1fe9945eccf4b792b948633aae9a9b8: chipset_enable.c:27: error: "_LARGEFILE64_SOURCE" redefined [-Werror] 27 | #define _LARGEFILE64_SOURCE | : note: this is the location of the previous definition Fixes: - http://autobuild.buildroot.org/results/b8d8c30d1306c2ba8f59b48f457a7ef930306b8c Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/flashrom/flashrom.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk index ca55592dba..1ccef572da 100644 --- a/package/flashrom/flashrom.mk +++ b/package/flashrom/flashrom.mk @@ -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