disable Krait for Mac builds to avoid assembler issues
Change-Id: Ie98f4dbc2cef92798ec08b43b93e7e0339a92a92
This commit is contained in:
parent
e98755f9d6
commit
7c40fb95dc
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,11 @@ ifneq (,$(filter krait,$(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)))
|
|||
CLANG_CONFIG_arm_EXTRA_CFLAGS += -mcpu=krait
|
||||
endif
|
||||
|
||||
ifeq ($(HOST_OS),darwin)
|
||||
# Darwin is really bad at dealing with idiv/sdiv. Don't use krait on Darwin.
|
||||
CLANG_CONFIG_arm_EXTRA_CFLAGS += -mcpu=cortex-a9
|
||||
endif
|
||||
|
||||
CLANG_CONFIG_arm_EXTRA_CPPFLAGS :=
|
||||
|
||||
CLANG_CONFIG_arm_EXTRA_LDFLAGS :=
|
||||
|
|
Loading…
Reference in a new issue