diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-05-08 18:30:49 -0700 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-06-20 06:29:44 -0700 |
| commit | 3c7d9c28ac4f65abbf75c2925652270ca397c54e (patch) | |
| tree | 369ff534d2775778566a19f97c9f3a9875048c47 | |
| parent | ad1147aa7ec73f68fa1dab8c9b7b561b3514e6da (diff) | |
| download | poky-3c7d9c28ac4f65abbf75c2925652270ca397c54e.tar.gz | |
iproute2: Fix build with GCC-14
(From OE-Core rev: 06b5a2db1d079c86652534b6fc7e504f77604af4)
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>
| -rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2_6.7.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2_6.7.0.bb b/meta/recipes-connectivity/iproute2/iproute2_6.7.0.bb index 442c6bdd4f..fd05707cec 100644 --- a/meta/recipes-connectivity/iproute2/iproute2_6.7.0.bb +++ b/meta/recipes-connectivity/iproute2/iproute2_6.7.0.bb | |||
| @@ -26,6 +26,8 @@ PACKAGECONFIG[selinux] = ",,libselinux" | |||
| 26 | 26 | ||
| 27 | IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink tipc rdma', d)}" | 27 | IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink tipc rdma', d)}" |
| 28 | 28 | ||
| 29 | # This is needed with GCC-14 and musl | ||
| 30 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
| 29 | # CFLAGS are computed in Makefile and reference CCOPTS | 31 | # CFLAGS are computed in Makefile and reference CCOPTS |
| 30 | # | 32 | # |
| 31 | EXTRA_OEMAKE = "\ | 33 | EXTRA_OEMAKE = "\ |
