From: Daniel Golle Date: Mon, 22 Jun 2015 14:28:51 +0000 (+0200) Subject: libs/re: fix build with musl and glibc X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=96bdf92c0a3408f10348e4e82b7062d2b177885f;p=feed%2Ftelephony.git libs/re: fix build with musl and glibc Signed-off-by: Daniel Golle --- diff --git a/libs/re/Makefile b/libs/re/Makefile index b7abff2..561472a 100644 --- a/libs/re/Makefile +++ b/libs/re/Makefile @@ -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