aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-08-18 18:06:44 +0300
committerKhem Raj <raj.khem@gmail.com>2019-08-18 21:47:18 -0700
commitdb9ca7d7c37a69d49055fa826289586a1434401c (patch)
tree22ff7b495d65c6ff599b652d6926b0c252ea985c
parent509d40153d6c54367abcd023fd45c884a343acab (diff)
downloadmeta-openembedded-contrib-db9ca7d7c37a69d49055fa826289586a1434401c.tar.gz
meta-openembedded-contrib-db9ca7d7c37a69d49055fa826289586a1434401c.tar.bz2
meta-openembedded-contrib-db9ca7d7c37a69d49055fa826289586a1434401c.zip
networkmanager: musl now supports secure_getenv
It is no longer necessary to introduce a potential security vulnerability for fixing the musl build. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb9
1 files changed, 0 insertions, 9 deletions
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb
index 58968dfb04..9ce2d961dd 100644
--- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb
+++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb
@@ -51,17 +51,8 @@ EXTRA_OECONF = " \
# 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'?
-#
-# and
-#
-# | In file included from ../NetworkManager-1.16.0/src/systemd/nm-sd-utils-core.c:25:
-# | ../NetworkManager-1.16.0/src/systemd/sd-adapt-core/nm-sd-adapt-core.h:68:6: error: #error neither secure_getenv nor __secure_getenv is available
-# | # error neither secure_getenv nor __secure_getenv is available
-# | ^~~~~
CFLAGS_append_libc-musl = " \
-DRTLD_DEEPBIND=0 \
- -DHAVE_SECURE_GETENV \
- -Dsecure_getenv=getenv \
"
do_compile_prepend() {