networkmanager: remove (another) obsolete CLAGS extension
PATCH 1/1 networkmanager: remove (another) obsolete CLAGS extension
The incompatible pointer warning/error has been fixed upstream[1], no need for custom CFLAGS for this anymore.
Signed-off-by Gyorgy Sarvari <[email protected]>
--- .../networkmanager/networkmanager_1.56.0.bb | 7 ------- 1 file changed, 7 deletions(-)
meta-networking/recipes-connectivity/networkmanager/networkmanager_1.56.0.bb +0 -7
@@ -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)} \