mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user