2014-02-07 03:08:44 +01:00
|
|
|
# Clang flags for arm arch, target or host.
|
|
|
|
|
2014-10-22 18:21:53 +02:00
|
|
|
CLANG_CONFIG_arm_EXTRA_ASFLAGS :=
|
2014-02-07 03:08:44 +01:00
|
|
|
|
2014-10-22 18:21:53 +02:00
|
|
|
CLANG_CONFIG_arm_EXTRA_CFLAGS :=
|
2014-02-07 03:08:44 +01:00
|
|
|
|
2014-10-22 18:21:53 +02:00
|
|
|
CLANG_CONFIG_arm_EXTRA_CPPFLAGS :=
|
2014-04-04 01:06:59 +02:00
|
|
|
|
2014-10-22 18:21:53 +02:00
|
|
|
CLANG_CONFIG_arm_EXTRA_LDFLAGS :=
|
2014-02-07 03:08:44 +01:00
|
|
|
|
2016-05-09 23:53:22 +02:00
|
|
|
ifneq (,$(filter krait,$(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)))
|
|
|
|
# Android's clang support's krait as a CPU whereas GCC doesn't. Specify
|
|
|
|
# -mcpu here rather than the more normal core/combo/arch/arm/armv7-a-neon.mk.
|
|
|
|
CLANG_CONFIG_arm_EXTRA_CFLAGS += -mcpu=krait -mfpu=neon-vfpv4
|
|
|
|
endif
|