summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Marko2024-03-29 17:57:03 +0000
committerRobert Marko2024-04-23 10:36:22 +0000
commita48786ef4034d9905357c44d09caba3303eb28d2 (patch)
tree3f54d106467389cf91b0bad886ac7e81f8f1bc61
parent82ba1d26357fe005da6a71c10f75d83227af299c (diff)
downloadopenwrt-a48786ef4034d9905357c44d09caba3303eb28d2.tar.gz
tools: b43-tools: fix compilation with GCC14
GCC14 no longer treats integer types and pointer types as equivalent in assignments (including implied assignments of function arguments and return values), and instead fails the compilation with a type error. So, as a workaround lets disable the newly introduced error -Werror=int-conversion and just make it print a warning to enable compiling with GCC14 as Fedora 40 now defaults to it. Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--tools/b43-tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/b43-tools/Makefile b/tools/b43-tools/Makefile
index bae498c78f..19918efde4 100644
--- a/tools/b43-tools/Makefile
+++ b/tools/b43-tools/Makefile
@@ -23,7 +23,7 @@ define Host/Compile
$(HOST_MAKE_FLAGS) \
$(1) QUIET_SPARSE=:
+$(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR)/assembler \
- CFLAGS="$(HOST_CFLAGS) -include endian.h" \
+ CFLAGS="$(HOST_CFLAGS) -include endian.h -Wno-error=int-conversion" \
$(HOST_MAKE_FLAGS) \
LDFLAGS= \
$(1) QUIET_SPARSE=: