libs/re: fix build with musl and glibc

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2015-06-22 16:28:51 +02:00
parent 3c06e4b936
commit 96bdf92c0a

View file

@ -33,7 +33,7 @@ endef
TARGET_CFLAGS += $(FPIC)
ifneq ($(CONFIG_USE_EGLIBC),)
ifneq ($(CONFIG_USE_GLIBC)$(CONFIG_USE_MUSL),)
TARGET_CFLAGS += -D_GNU_SOURCE
endif