[Buildroot] [PATCH] lsof: do not remove WIDECHARINCL definition

Benoît Thébaudeau benoit.thebaudeau at advansee.com
Fri May 2 14:59:23 UTC 2014


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 <benoit.thebaudeau at advansee.com>
---
 package/lsof/lsof.mk | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk
index f4b1b4c..aa101e4 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
 
-- 
1.8.3.2



More information about the buildroot mailing list