[packages] httping: fix flags for nossl variant, define _GNU_SOURCE to get access to protected useconds_t (#10904)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30319 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4451643a36
commit
2a6992885d
@ -56,13 +56,11 @@ define Package/httping-nossl/description
|
|||||||
This package is built without SSL support.
|
This package is built without SSL support.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
TARGET_CFLAGS += -D_GNU_SOURCE
|
||||||
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)"
|
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),nossl)
|
ifeq ($(BUILD_VARIANT),nossl)
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += SSL="no"
|
||||||
SSL="no" \
|
TARGET_CFLAGS += -DNO_SSL
|
||||||
CFLAGS+="-DNO_SSL"
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define Package/httping/install
|
define Package/httping/install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user