Browse Source

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>
lilik-openwrt-22.03
Marko Ratkaj 7 years ago
parent
commit
50716550be
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      utils/jq/Makefile

+ 4
- 0
utils/jq/Makefile 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


Loading…
Cancel
Save