[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.
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user