jq: compile with _GNU_SOURCE (fixes #7785)
[feed/packages.git] / 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 \