libs/re: fix build with musl and glibc
authorDaniel Golle <daniel@makrotopia.org>
Mon, 22 Jun 2015 14:28:51 +0000 (16:28 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 22 Jun 2015 14:51:58 +0000 (16:51 +0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libs/re/Makefile

index b7abff250b43cd8b3a009e199897d175ad5c19a4..561472a898ecc12f2340f9cbeb36c770fbae98d3 100644 (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