jq: compile with _GNU_SOURCE (fixes #7785)

Signed-off-by: W. Michael Petullo <mike@flyn.org>
(cherry-picked from 4bb18b04b6)
This commit is contained in:
W. Michael Petullo 2019-02-10 19:31:53 -05:00 committed by Rosen Penev
parent fb0566686d
commit 70a1ffdf0f
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=jq
PKG_VERSION:=1.5
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_LICENSE:=BSD
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@ -24,7 +24,7 @@ ifdef CONFIG_USE_MIPS16
TARGET_CFLAGS += -fno-ipa-sra
endif
TARGET_CFLAGS += -std=c99
TARGET_CFLAGS += -std=c99 -D_GNU_SOURCE
define Package/jq
SECTION:=utils