File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -111,3 +111,9 @@ list_to_space_separated(CMAKE_C_FLAGS_INIT ${common_options} ${c_cxx_compile_opt
111
111
set (CMAKE_CXX_FLAGS_INIT ${CMAKE_C_FLAGS_INIT} )
112
112
list_to_space_separated (CMAKE_ASM_FLAGS_INIT ${common_options} ${asm_compile_options} )
113
113
list_to_space_separated (CMAKE_EXE_LINKER_FLAGS_INIT ${link_options} )
114
+
115
+ # due to a bug in ARMClang CMake compiler file, all _INIT flags must end with a space.
116
+ # (this line: https://github.com/Kitware/CMake/blob/7d4a6ce714a9213ffd34b13a3debcb31a2430e04/Modules/Compiler/ARMClang.cmake#L97)
117
+ set (CMAKE_C_FLAGS_INIT "${CMAKE_C_FLAGS_INIT} " )
118
+ set (CMAKE_CXX_FLAGS_INIT "${CMAKE_CXX_FLAGS_INIT} " )
119
+ set (CMAKE_ASM_FLAGS_INIT "${CMAKE_ASM_FLAGS_INIT} " )
You can’t perform that action at this time.
0 commit comments