From 5fc66c6072ddd047ec0906098de770dbc48b2f7e Mon Sep 17 00:00:00 2001 From: Timon Kruiper Date: Sat, 14 May 2022 13:53:53 +0200 Subject: [PATCH] Kernel: Fix capitalization of MiniStdLib.cpp in CMakeLists.txt Commit fd3e3d5e28f729c05427d1c3cfe95e1ae3f62e39 added this, however misspelled MiniStdLib.cpp. CMake wasn't complaining about this, but the flags were also not applied to the file. --- Kernel/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt index cbefd82de2..56821c98c9 100644 --- a/Kernel/CMakeLists.txt +++ b/Kernel/CMakeLists.txt @@ -487,7 +487,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") # Prevent naively implemented string functions (like strlen) from being "optimized" into a call to themselves. - set_source_files_properties(MiniStdlib.cpp + set_source_files_properties(MiniStdLib.cpp PROPERTIES COMPILE_FLAGS "-fno-tree-loop-distribution -fno-tree-loop-distribute-patterns") add_link_options(LINKER:-z,pack-relative-relocs)