projects
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
With eglibc needs to define -D_GNU_SOURCE in cflags to avoid following error:
[packages.git]
/
libs
/
re
/
Makefile
diff --git
a/libs/re/Makefile
b/libs/re/Makefile
index
c3cc27b
..
fbafd47
100644
(file)
--- a/
libs/re/Makefile
+++ b/
libs/re/Makefile
@@
-28,6
+28,10
@@
endef
TARGET_CFLAGS += $(FPIC)
+ifneq ($(CONFIG_USE_EGLIBC),)
+TARGET_CFLAGS += -D_GNU_SOURCE
+endif
+
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
HAVE_LIBRESOLV= \