From e37d9e6ac9dc761eab3d415ff76cfb3b0b411e55 Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Fri, 20 Nov 2020 18:39:30 +0100 Subject: [PATCH] cmake: using zephyr_get_compile_options_for_lang_as_string() With the distinction between zephyr_get_compile_options_for_lang() and zephyr_get_compile_options_for_lang_as_string() regarding list handling and thus quoting, then zephyr_get_compile_options_for_lang_as_string() is now used for CMake source file properties for compilation of kobject_hash.c source file. Signed-off-by: Torsten Rasmussen --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c137197922..9ed7c187331 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -754,7 +754,7 @@ if(CONFIG_CODE_DATA_RELOCATION) endif() if(CONFIG_USERSPACE) - zephyr_get_compile_options_for_lang(C compiler_flags_priv) + zephyr_get_compile_options_for_lang_as_string(C compiler_flags_priv) string(REPLACE "$" "" NO_COVERAGE_FLAGS "${compiler_flags_priv}" )