diff mbox series

[V2,4/4] iproute2: Fix build with GCC-14

Message ID 20240509013049.523093-4-raj.khem@gmail.com
State Accepted, archived
Commit 127df0ac9b55fa2a7f3269934854f805843d01cc
Headers show
Series [V2,1/4] python3: Treat UID/GID overflow as failure | expand

Commit Message

Khem Raj May 9, 2024, 1:30 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
V2: Rebased

 meta/recipes-connectivity/iproute2/iproute2_6.8.0.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-connectivity/iproute2/iproute2_6.8.0.bb b/meta/recipes-connectivity/iproute2/iproute2_6.8.0.bb
index 68f7611943f..24539e3d998 100644
--- a/meta/recipes-connectivity/iproute2/iproute2_6.8.0.bb
+++ b/meta/recipes-connectivity/iproute2/iproute2_6.8.0.bb
@@ -26,6 +26,8 @@  PACKAGECONFIG[selinux] = ",,libselinux"
 
 IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink tipc rdma', d)}"
 
+# This is needed with GCC-14 and musl
+CFLAGS += "-Wno-error=incompatible-pointer-types"
 # CFLAGS are computed in Makefile and reference CCOPTS
 #
 EXTRA_OEMAKE = "\