Build Options syntax problem

Hello!

I’m working on a project with a Teensy 3.2, but I need support for sprintf and float numbers. I therefore need to add the linker flags -larm_cortexM4l_math -lm -u _printf_float. As far as documentation goes, linker flags are added to platformio.ini with the building option tag build_flag.
For the first 2, no issue adding them, but -u _print_float has a space which breaks compilation and I don’t know the proper syntax to have it parse correctly.

Thanks a lot in advance!

I think I got it, but I can’t test the results on the teensy until tomorrow:

build_flags = -larm_cortexM4l_math -lm -Wl,-u,_printf_float

does the trick and it builds successfully. The Link Options describe how -Wl,option expands segmented flags.