lsof: do not remove WIDECHARINCL definition
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Fri, 2 May 2014 14:59:23 +0000 (16:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 9 Jun 2014 13:06:13 +0000 (15:06 +0200)
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>
package/lsof/lsof.mk

index ccef3fb6a9fc8a78b12f6d6e99ade118ebe5693a..dcdb7cf5feb9f8dc83adbbd3028a73a5072d63c9 100644 (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