From: Benoît Thébaudeau Date: Fri, 2 May 2014 14:59:23 +0000 (+0200) Subject: lsof: do not remove WIDECHARINCL definition X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=566a7bef7ca59e064d1ffc4ba6e84bf35fbc9384;p=buildroot.git lsof: do not remove WIDECHARINCL definition WIDECHARINCL is enabled by HASWIDECHAR, so removing its definition if BR2_USE_WCHAR is not set is useless. Signed-off-by: Benoît Thébaudeau Signed-off-by: Thomas Petazzoni --- diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk index ccef3fb6a9..dcdb7cf5fe 100644 --- a/package/lsof/lsof.mk +++ b/package/lsof/lsof.mk @@ -27,8 +27,6 @@ ifeq ($(BR2_USE_WCHAR),) define LSOF_CONFIGURE_WCHAR_FIXUPS $(SED) 's,^#define[[:space:]]*HASWIDECHAR.*,#undef HASWIDECHAR,' \ $(@D)/machine.h - $(SED) 's,^#define[[:space:]]*WIDECHARINCL.*,,' \ - $(@D)/machine.h endef endif