* [Buildroot] [PATCH] package/rtl8188eu: fix build failure due to warnings treated as errors
@ 2026-06-16 16:25 Giulio Benetti
2026-10-13 12:39 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Giulio Benetti @ 2026-06-16 16:25 UTC (permalink / raw)
To: buildroot; +Cc: Giulio Benetti, Luca Ceresoli
At the moment a lot of warnings are treated as errors and this leads to
build failure. So let's work around the problem by setting -Wno-error
thus keeping warnings as they are.
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
package/rtl8188eu/rtl8188eu.mk | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/package/rtl8188eu/rtl8188eu.mk b/package/rtl8188eu/rtl8188eu.mk
index 5f378e0b6e..6ce398933a 100644
--- a/package/rtl8188eu/rtl8188eu.mk
+++ b/package/rtl8188eu/rtl8188eu.mk
@@ -8,7 +8,11 @@ RTL8188EU_VERSION = cca7c28087db740d7d745e81e4096c9eb9084f9a
RTL8188EU_SITE = $(call github,benetti-engineering,rtl8188eu,$(RTL8188EU_VERSION))
RTL8188EU_LICENSE = GPL-2.0, proprietary (rtl8188eufw.bin firmware blob)
RTL8188EU_LICENSE_FILES = COPYING
-RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m
+
+RTL8188EU_EXTRA_CFLAGS = -Wno-error
+
+RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m \
+ USER_EXTRA_CFLAGS="$(RTL8188EU_EXTRA_CFLAGS)"
define RTL8188EU_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] package/rtl8188eu: fix build failure due to warnings treated as errors
2026-06-16 16:25 [Buildroot] [PATCH] package/rtl8188eu: fix build failure due to warnings treated as errors Giulio Benetti
@ 2026-10-13 12:39 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-10-13 12:39 UTC (permalink / raw)
To: Giulio Benetti; +Cc: buildroot, Luca Ceresoli
On Tue, Jun 16, 2026 at 06:25:15PM +0200, Giulio Benetti wrote:
> At the moment a lot of warnings are treated as errors and this leads to
> build failure. So let's work around the problem by setting -Wno-error
> thus keeping warnings as they are.
>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Thanks for the patch, but what caused those errors? Is it a new
version of GCC? If so which one? Or a new version of the driver that
added -Werror?
Without this information, our LTS maintainers won't be able to assess
whether the patch is needed just in master, or also needed in
2025.02.x.
Thanks a lot for your feedback,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-13 12:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-16 16:25 [Buildroot] [PATCH] package/rtl8188eu: fix build failure due to warnings treated as errors Giulio Benetti
2026-10-13 12:39 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox