diff --git a/tools/cmake/compiler_flags.cmake b/tools/cmake/compiler_flags.cmake index d238a22a..4f619c26 100644 --- a/tools/cmake/compiler_flags.cmake +++ b/tools/cmake/compiler_flags.cmake @@ -9,7 +9,7 @@ list(APPEND GLOBAL_LD_FLAGS -Wall -Wchar-subscripts -std=c99) list(APPEND GLOBAL_LD_FLAGS --specs=nano.specs) -if(CONFIG_PRINT_FLOAT_ENABLE) +if(CONFIG_PRINT_FLOAT) list(APPEND GLOBAL_LD_FLAGS -u _printf_float) endif()