]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
iproute2: Fix build with GCC-14
authorKhem Raj <raj.khem@gmail.com>
Thu, 9 May 2024 01:30:49 +0000 (18:30 -0700)
committerSteve Sakoman <steve@sakoman.com>
Sat, 15 Jun 2024 12:34:59 +0000 (05:34 -0700)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 127df0ac9b55fa2a7f3269934854f805843d01cc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-connectivity/iproute2/iproute2_6.7.0.bb

index 442c6bdd4fcfe9b5a57c1dbf014649e44706a3b8..fd05707cecec0ecd1f18b2cead6d3b3c420f8849 100644 (file)
@@ -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 = "\