Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39a5bba4 authored by Tim Murray's avatar Tim Murray Committed by Gerrit Code Review
Browse files

Merge "disable Krait for Mac builds to avoid assembler issues"

parents 73a730ca 7c40fb95
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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 :=