From: Jo-Philipp Wich Date: Sun, 5 Feb 2012 20:25:38 +0000 (+0000) Subject: httping: fix flags for nossl variant, define _GNU_SOURCE to get access to protected... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8b6bf56e6520a1d86960c8c54185f93c072405c4;p=openwrt%2Fsvn-archive%2Fpackages.git httping: fix flags for nossl variant, define _GNU_SOURCE to get access to protected useconds_t (#10904) SVN-Revision: 30319 --- diff --git a/net/httping/Makefile b/net/httping/Makefile index a2c611819..cb188642b 100644 --- a/net/httping/Makefile +++ b/net/httping/Makefile @@ -56,13 +56,11 @@ define Package/httping-nossl/description This package is built without SSL support. endef -MAKE_FLAGS += \ - CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" +TARGET_CFLAGS += -D_GNU_SOURCE ifeq ($(BUILD_VARIANT),nossl) - MAKE_FLAGS += \ - SSL="no" \ - CFLAGS+="-DNO_SSL" + MAKE_FLAGS += SSL="no" + TARGET_CFLAGS += -DNO_SSL endif define Package/httping/install