From cf957f9d4a54d49f66d9af4ee7c7b4bb90660409 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 6 Feb 2014 10:37:50 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6668 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/ports/ARMCMx/compilers/GCC/rules.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'os/common/ports/ARMCMx/compilers/GCC') diff --git a/os/common/ports/ARMCMx/compilers/GCC/rules.mk b/os/common/ports/ARMCMx/compilers/GCC/rules.mk index a9228e393..1d6def961 100644 --- a/os/common/ports/ARMCMx/compilers/GCC/rules.mk +++ b/os/common/ports/ARMCMx/compilers/GCC/rules.mk @@ -23,6 +23,9 @@ ifeq ($(USE_LTO),yes) endif # FPU-related options +ifeq ($(USE_FPU),) + USE_FPU = no +endif ifneq ($(USE_FPU),no) OPT += -mfloat-abi=$(USE_FPU) -mfpu=fpv4-sp-d16 -fsingle-precision-constant DDEFS += -DCORTEX_USE_FPU=TRUE -- cgit v1.2.3