mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-09-12 09:49:32 +02:00
tune-cortexm3.inc: set '-mfloat-abi=soft' floating-point ABI
Due to default -mfloat-abi=softfp facing below error log: "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)" Ref: https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
@@ -18,3 +18,4 @@ PACKAGE_EXTRA_ARCHS_tune-cortexm3 ="cortexm3"
|
||||
TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3"
|
||||
PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m-vfp"
|
||||
|
||||
TUNE_CCARGS_MFLOAT = "soft"
|
||||
|
||||
Reference in New Issue
Block a user