[Buildroot] [git commit] procps-ng: fix build without wide character support
Peter Korsgaard
peter at korsgaard.com
Fri Apr 27 20:25:51 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=a76fb61aae39d844c60d55726f6afafc7faf8e8f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Define OFF_XTRAWIDE to disable use of wchar API when the toolchain does
not support that.
Fixes:
http://autobuild.buildroot.net/results/b96/b96d29d64f455726a53a7adcfd3edd546346201c/
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/procps-ng/procps-ng.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/procps-ng/procps-ng.mk b/package/procps-ng/procps-ng.mk
index a6cf774d7b..0d5ce9ddf0 100644
--- a/package/procps-ng/procps-ng.mk
+++ b/package/procps-ng/procps-ng.mk
@@ -40,6 +40,10 @@ PROCPS_NG_CONF_OPTS += \
--enable-watch8bit
endif
+ifeq ($(BR2_USE_WCHAR),)
+PROCPS_NG_CONF_OPTS += CPPFLAGS=-DOFF_XTRAWIDE
+endif
+
# numa support requires libdl, so explicitly disable it when
# BR2_STATIC_LIBS=y
ifeq ($(BR2_STATIC_LIBS),y)
More information about the buildroot
mailing list