mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-08 17:39:24 +00:00
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]: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/43bcfbcdf5e255544adee3d02d0e98efa088c5d3 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -48,7 +48,6 @@ SRC_URI:append:libc-musl = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld',
|
|||||||
|
|
||||||
SRCREV = "56b51b98fbb8627c4c09a483702e18fd8aee7ce1"
|
SRCREV = "56b51b98fbb8627c4c09a483702e18fd8aee7ce1"
|
||||||
|
|
||||||
|
|
||||||
# ['auto', 'symlink', 'file', 'netconfig', 'resolvconf']
|
# ['auto', 'symlink', 'file', 'netconfig', 'resolvconf']
|
||||||
NETWORKMANAGER_DNS_RC_MANAGER_DEFAULT ??= "auto"
|
NETWORKMANAGER_DNS_RC_MANAGER_DEFAULT ??= "auto"
|
||||||
|
|
||||||
@@ -72,12 +71,6 @@ EXTRA_OEMESON = "\
|
|||||||
-Dman=false \
|
-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 \
|
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', 'systemd', 'systemd', bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d), d)} \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \
|
${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \
|
||||||
|
|||||||
Reference in New Issue
Block a user