jq: fix MIPS compile flags

There is a gcc related bug that causes the following issue on MIPS:
Assertion failed: jv_get_kind(a) == JV_KIND_STRING (jv.c: jvp_string_ptr: 435)

This patch will disable SRA optimizations on MIPS platform and prevent
the above issue.

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
This commit is contained in:
Marko Ratkaj 2017-05-17 14:19:38 +02:00
parent 1bf7af4ca5
commit 50716550be
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
ifdef CONFIG_USE_MIPS16
TARGET_CFLAGS += -fno-ipa-sra
endif
define Package/jq
SECTION:=utils
CATEGORY:=Utilities