From a019b6f280b705f6ed200abc9e4cecab916ce98b Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Mon, 14 Dec 2020 23:39:08 +0100 Subject: [PATCH] cmake: using zephyr_get_compile_options_for_lang_as_string for export Fixes: #30712 Now using zephyr_get_compile_options_for_lang_as_string for makefile export of Zephyr build flags. Signed-off-by: Torsten Rasmussen --- cmake/makefile_exports/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/makefile_exports/CMakeLists.txt b/cmake/makefile_exports/CMakeLists.txt index 7120c9826f0..3255ffe041f 100644 --- a/cmake/makefile_exports/CMakeLists.txt +++ b/cmake/makefile_exports/CMakeLists.txt @@ -2,9 +2,9 @@ # SPDX-License-Identifier: Apache-2.0 -zephyr_get_compile_options_for_lang(ASM ASM_compile_options) -zephyr_get_compile_options_for_lang(C C_compile_options) -zephyr_get_compile_options_for_lang(CXX CXX_compile_options) +zephyr_get_compile_options_for_lang_as_string(ASM ASM_compile_options) +zephyr_get_compile_options_for_lang_as_string(C C_compile_options) +zephyr_get_compile_options_for_lang_as_string(CXX CXX_compile_options) set(exports "