packages: more (e)glibc fixes after r44701

_GNU_SOURCE has been declared "deprecated" in favor of _DEFAULT_SOURCE in glibc

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44843
This commit is contained in:
Nicolas Thill
2015-03-16 12:32:22 +00:00
parent 4b382a440b
commit 81ff0511df
2 changed files with 8 additions and 0 deletions

View File

@@ -107,6 +107,10 @@ define Package/uhttpd/conffiles
/etc/uhttpd.key
endef
ifneq ($(CONFIG_USE_GLIBC),)
TARGET_CFLAGS += -D_DEFAULT_SOURCE
endif
TARGET_LDFLAGS += -lcrypt
CMAKE_OPTIONS = -DTLS_SUPPORT=on