diff options
author | Nicolas Thill <nico@openwrt.org> | 2015-03-16 12:32:22 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2015-03-16 12:32:22 +0000 |
commit | d951b2beb11b3c74babeea15b628d583e10e6fff (patch) | |
tree | 6aa81f7d1c1dba2e110a17089da1ee67bf344167 /package/network/services | |
parent | 7105a54bcb1ec09bd71ed530ef16ac39a08c06c3 (diff) | |
download | upstream-d951b2beb11b3c74babeea15b628d583e10e6fff.tar.gz upstream-d951b2beb11b3c74babeea15b628d583e10e6fff.tar.bz2 upstream-d951b2beb11b3c74babeea15b628d583e10e6fff.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44843 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services')
-rw-r--r-- | package/network/services/uhttpd/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/network/services/uhttpd/Makefile b/package/network/services/uhttpd/Makefile index 7c0989de1a..f4de987e65 100644 --- a/package/network/services/uhttpd/Makefile +++ b/package/network/services/uhttpd/Makefile @@ -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 |