aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorW. Michael Petullo <mike@flyn.org>2019-02-10 19:31:53 -0500
committerW. Michael Petullo <mike@flyn.org>2019-02-11 06:58:21 -0500
commit4bb18b04b6750af9a62b68792415d527f0a54f5e (patch)
treeacc625ef5802bc3a0a0f44f451d54bfe01b94a6d /utils
parent1d4081dd4c43ab51d8a6393c0c6c57ba9a79b80c (diff)
jq: compile with _GNU_SOURCE (fixes #7785)
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Diffstat (limited to 'utils')
-rw-r--r--utils/jq/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/jq/Makefile b/utils/jq/Makefile
index 053063e33..d5ffdd091 100644
--- a/utils/jq/Makefile
+++ b/utils/jq/Makefile
@@ -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
CONFIGURE_ARGS+= \
--disable-docs \