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:
parent
fe70a288f1
commit
566a7bef7c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user