* [Buildroot] [git commit] package/netdata: fix uclibc build without wchar
@ 2022-04-21 17:31 Arnout Vandecappelle
0 siblings, 0 replies; only message in thread
From: Arnout Vandecappelle @ 2022-04-21 17:31 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=98c22550e208d79ae212d4481a24d355eb509d18
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fix the following uclibc build failure without wchar raised since bump
to version 1.33.1 in commit 73dc2eef2dc40b78e732872b26eee0bcea1087d1:
configure: error: Netdata requires a compiler that supports C99 to build
Fixes:
- http://autobuild.buildroot.org/results/bca4d370ed0553d5f99f1277d0a1e3b49f62b95f
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
package/netdata/netdata.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk
index da6f8eb18b..4287e8406b 100644
--- a/package/netdata/netdata.mk
+++ b/package/netdata/netdata.mk
@@ -18,6 +18,10 @@ NETDATA_CONF_OPTS = \
--disable-unit-tests
NETDATA_DEPENDENCIES = libuv util-linux zlib
+# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
+# provided by autoconf relies on wchar_t.
+NETDATA_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99
+
ifeq ($(BR2_GCC_ENABLE_LTO),y)
NETDATA_CONF_OPTS += --enable-lto
else
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-21 18:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21 17:31 [Buildroot] [git commit] package/netdata: fix uclibc build without wchar Arnout Vandecappelle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.