diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-07-02 12:49:02 -0700 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2017-07-02 20:51:17 -0700 |
commit | 38eb3ad83a6c71e897f99dbf27f1980d32194ee2 (patch) | |
tree | fe219b3aef1d7c37bf852bf7c36e387d63b97e0e /utils/jq/Makefile | |
parent | c947329c6452ce21650df3a942a517be5798f525 (diff) |
jq: Set -std=c99 CLFAGS
Fixes build errors/warnings:
locfile.c: In function 'locfile_init':
locfile.c:21:3: error: 'for' loop initial declarations are only allowed
in C99 mode
for (int i=0; i<length; i++) {
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'utils/jq/Makefile')
-rw-r--r-- | utils/jq/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/jq/Makefile b/utils/jq/Makefile index 18736110e..560798bbb 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:=1 +PKG_RELEASE:=2 PKG_LICENSE:=BSD PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -24,6 +24,8 @@ ifdef CONFIG_USE_MIPS16 TARGET_CFLAGS += -fno-ipa-sra endif +TARGET_CFLAGS += -std=c99 + define Package/jq SECTION:=utils CATEGORY:=Utilities |