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 <benoit.thebaudeau@advansee.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Benoît Thébaudeau 2014-05-02 16:59:23 +02:00 committed by Thomas Petazzoni
parent fe70a288f1
commit 566a7bef7c

View File

@ -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