From 7a39ec76b9a6e4daa2d013f14c6fcce2c524b84b Mon Sep 17 00:00:00 2001
From: Rahix <rahix@rahix.de>
Date: Thu, 25 Jul 2019 14:05:33 +0200
Subject: [PATCH] fix(build): Fix nano printf pulling in floats

Signed-off-by: Rahix <rahix@rahix.de>
---
 card10-cross.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/card10-cross.ini b/card10-cross.ini
index bf0693cc7..ca8d05402 100644
--- a/card10-cross.ini
+++ b/card10-cross.ini
@@ -6,7 +6,7 @@ strip = 'arm-none-eabi-strip'
 [properties]
 c_args      = ['-mthumb', '-mcpu=cortex-m4', '-mfloat-abi=hard', '-mfpu=fpv4-sp-d16', '-Wa,-mimplicit-it=thumb', '-ffunction-sections', '-fdata-sections', '-fsingle-precision-constant', '-fno-isolate-erroneous-paths-dereference']
 
-c_link_args = ['-mthumb', '-mcpu=cortex-m4', '-mfloat-abi=hard', '-mfpu=fpv4-sp-d16', '-Wl,--start-group', '-lc', '-lnosys', '-Wl,--end-group', '--specs=nano.specs', '-u _printf_float']
+c_link_args = ['-mthumb', '-mcpu=cortex-m4', '-mfloat-abi=hard', '-mfpu=fpv4-sp-d16', '-Wl,--start-group', '-lc', '-lnosys', '-Wl,--end-group', '--specs=nano.specs']
 
 target_defs = ['-DTARGET=32665', '-DTARGET_REV=0x4131', '-DBOARD_CARD10=1']
 
-- 
GitLab