rustc: select ARM target correctly (fix #3087)
This commit is contained in:
parent
f0a3377247
commit
d6376f8188
|
@ -9,9 +9,9 @@ ifeq ($(filter-out $(SPECS),x86),)
|
||||||
endif # 64bit
|
endif # 64bit
|
||||||
endif # x86
|
endif # x86
|
||||||
|
|
||||||
ifeq ($(filter-out $(SPECS),rpi),)
|
ifeq ($(filter-out $(SPECS),arm_v6),)
|
||||||
CC_RUSTC_OPT += --target $(call select_from_repositories,$(TARGET_DIR)/armv6/target.json)
|
CC_RUSTC_OPT += --target $(call select_from_repositories,$(TARGET_DIR)/armv6/target.json)
|
||||||
else ifeq ($(filter-out $(SPECS),arm),)
|
else ifeq ($(filter-out $(SPECS),arm_v7),)
|
||||||
CC_RUSTC_OPT += --target $(call select_from_repositories,$(TARGET_DIR)/armv7/target.json)
|
CC_RUSTC_OPT += --target $(call select_from_repositories,$(TARGET_DIR)/armv7/target.json)
|
||||||
endif # ARM
|
endif # ARM
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user