networkmanager: remove obsolete CLAGS extension

Compilation with musl has been fixed by upstream[1], no need for custom
CFLAGS for this anymore.

[1]: d38b5d92ee

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 11:58:32 +02:00 committed by Khem Raj
parent a307e2fa5d
commit 50c5b6a117
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -72,13 +72,6 @@ EXTRA_OEMESON = "\
-Dman=false \
"
# stolen from https://github.com/void-linux/void-packages/blob/master/srcpkgs/NetworkManager/template
# avoids:
# | ../NetworkManager-1.16.0/libnm-core/nm-json.c:106:50: error: 'RTLD_DEEPBIND' undeclared (first use in this function); did you mean 'RTLD_DEFAULT'?
CFLAGS:append:libc-musl = " \
-DRTLD_DEEPBIND=0 \
"
# 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;
# | ^ ~~~~~~~~~~~