jq: compile with _GNU_SOURCE (fixes #7785)
authorW. Michael Petullo <mike@flyn.org>
Mon, 11 Feb 2019 00:31:53 +0000 (19:31 -0500)
committerW. Michael Petullo <mike@flyn.org>
Mon, 11 Feb 2019 11:58:21 +0000 (06:58 -0500)
Signed-off-by: W. Michael Petullo <mike@flyn.org>
utils/jq/Makefile

index 053063e33c3798442dacfa1119c6de6d106f473a..d5ffdd0916c45d463310f3f5faf8200418f36703 100644 (file)
@@ -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 \