summaryrefslogtreecommitdiff
path: root/mk/arch/arm/arm.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-12-31 14:38:31 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-12-31 14:38:31 +0100
commitfee250c387a61bbd31a7135cc3109dd57b982c86 (patch)
treea2807ef6c7347217f98d7b471d82a53aeefb91d3 /mk/arch/arm/arm.mk
parent283bb142d6d6e08ed5b08f0a0d2785ae8898f858 (diff)
downloadembtoolkit-fee250c387a61bbd31a7135cc3109dd57b982c86.tar.gz
embtoolkit-fee250c387a61bbd31a7135cc3109dd57b982c86.tar.bz2
embtoolkit-fee250c387a61bbd31a7135cc3109dd57b982c86.tar.xz
Toolchain: clang/llvm: ARM: set default fpu in case of hard float
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/arch/arm/arm.mk')
-rw-r--r--mk/arch/arm/arm.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/arch/arm/arm.mk b/mk/arch/arm/arm.mk
index f3e82d7..0031a68 100644
--- a/mk/arch/arm/arm.mk
+++ b/mk/arch/arm/arm.mk
@@ -61,6 +61,7 @@ GCC_WITH_FPU-$(CONFIG_EMBTK_ARCH_ARM_FPU_NEON) := neon
GCC_WITH_FPU-$(CONFIG_EMBTK_ARCH_ARM_FPU_NEON_FP16) := neon-fp16
GCC_WITH_FPU-$(CONFIG_EMBTK_ARCH_ARM_FPU_NEON_VFPV4) := neon-vfpv4
GCC_WITH_FPU := $(if $(GCC_WITH_FPU-y),--with-fpu=$(GCC_WITH_FPU-y))
+LLVM_WITH_FPU := $(if $(GCC_WITH_FPU-y),--with-default-fpu=$(GCC_WITH_FPU-y))
# Hard or soft floating point?
EMBTK_TARGET_FLOAT_CFLAGS := $(strip $(if $(CONFIG_EMBTK_SOFTFLOAT), \