From: W. Michael Petullo Date: Mon, 11 Feb 2019 00:31:53 +0000 (-0500) Subject: jq: compile with _GNU_SOURCE (fixes #7785) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=70a1ffdf0fe6b1faeff4821e9a6254084867c174;p=feed%2Fpackages.git jq: compile with _GNU_SOURCE (fixes #7785) Signed-off-by: W. Michael Petullo (cherry-picked from 4bb18b04b6750af9a62b68792415d527f0a54f5e) --- diff --git a/utils/jq/Makefile b/utils/jq/Makefile index 7a1fcb1e28..3dca6820b1 100644 --- a/utils/jq/Makefile +++ b/utils/jq/Makefile @@ -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