From: Baruch Siach Date: Fri, 27 Apr 2018 04:40:32 +0000 (+0300) Subject: procps-ng: fix build without wide character support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a76fb61aae39d844c60d55726f6afafc7faf8e8f;p=buildroot.git procps-ng: fix build without wide character support 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 Signed-off-by: Peter Korsgaard --- 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)