[Buildroot] [git commit branch/2022.11.x] package/rtl8189es: disable -Werror to fix build failure

Peter Korsgaard peter at korsgaard.com
Tue Dec 20 11:45:51 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=511da4717d65000d6b98c61e4b5efa9f35db1a84
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.11.x

Fixes:
http://autobuild.buildroot.net/results/349893c66fcfbbf0e0e10285299581894254c941/

Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit abb36a1f5f619991a1a66c1a87b9881294465ab9)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/rtl8189es/rtl8189es.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/rtl8189es/rtl8189es.mk b/package/rtl8189es/rtl8189es.mk
index 6acc409e73..c2ee77f922 100644
--- a/package/rtl8189es/rtl8189es.mk
+++ b/package/rtl8189es/rtl8189es.mk
@@ -11,7 +11,8 @@ RTL8189ES_LICENSE = GPL-2.0
 RTL8189ES_MODULE_MAKE_OPTS = \
 	CONFIG_RTL8189ES=m \
 	KVER=$(LINUX_VERSION_PROBED) \
-	KSRC=$(LINUX_DIR)
+	KSRC=$(LINUX_DIR) \
+	USER_EXTRA_CFLAGS="-Wno-error"
 
 define RTL8189ES_LINUX_CONFIG_FIXUPS
 	$(call KCONFIG_ENABLE_OPT,CONFIG_NET)



More information about the buildroot mailing list