mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +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
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
ifdef CONFIG_USE_MIPS16
|
||||||
|
TARGET_CFLAGS += -fno-ipa-sra
|
||||||
|
endif
|
||||||
|
|
||||||
define Package/jq
|
define Package/jq
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
|
|||||||
Reference in New Issue
Block a user