networkmanager: remove (another) obsolete CLAGS extension

The incompatible pointer warning/error has been fixed upstream[1],
no need for custom CFLAGS for this anymore.

[1]: 43bcfbcdf5

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Gyorgy Sarvari 2026-04-01 12:02:50 +02:00 committed by Khem Raj
parent 50c5b6a117
commit e43a6cf3c3
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -48,7 +48,6 @@ SRC_URI:append:libc-musl = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld',
SRCREV = "56b51b98fbb8627c4c09a483702e18fd8aee7ce1"
# ['auto', 'symlink', 'file', 'netconfig', 'resolvconf']
NETWORKMANAGER_DNS_RC_MANAGER_DEFAULT ??= "auto"
@ -72,12 +71,6 @@ EXTRA_OEMESON = "\
-Dman=false \
"
# networkmanager-1.52.0/src/nmcli/agent.c:88:29: error: incompatible function pointer types assigning to 'rl_hook_func_t *' (aka 'int (*)(void)') from 'int (const char *, int)' [-Wincompatible-function-pointer-types]
# 88 | rl_startup_hook = set_deftext;
# | ^ ~~~~~~~~~~~
CFLAGS:append:toolchain-clang = " -Wno-error=incompatible-function-pointer-types"
PACKAGECONFIG ??= "readline nss ifupdown dnsmasq nmcli \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d), d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \