From f60a0b2b46078e9832582e5022399c2a9ca4b7a4 Mon Sep 17 00:00:00 2001 From: "W. Michael Petullo" Date: Mon, 17 Jul 2023 08:42:20 -0500 Subject: jq: remove _GNU_SOURCE from Makefile and instead backport patch Commit 4bb18b04 added _GNU_SOURCE to jq's Makefile to fix a segfault. This has since been fixed upstream, so this commit backports the upstream patch instead. This keeps things closer to upstream, and it will prevent the Makefile from containing a redundant fix once upstream releases the next version. Signed-off-by: W. Michael Petullo --- utils/jq/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/jq/Makefile') diff --git a/utils/jq/Makefile b/utils/jq/Makefile index 66b4306a5..362d7d750 100644 --- a/utils/jq/Makefile +++ b/utils/jq/Makefile @@ -28,7 +28,7 @@ ifdef CONFIG_USE_MIPS16 TARGET_CFLAGS += -fno-ipa-sra endif -TARGET_CFLAGS += -std=c99 -D_GNU_SOURCE +TARGET_CFLAGS += -std=c99 CONFIGURE_ARGS+= \ --disable-docs \ -- cgit v1.2.3