From ada1dc1c037371cd4680b00acff4bceaea511151 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 6 Dec 2017 16:45:27 +0200 Subject: [PATCH] zephyr/CMakeLists.txt: Properly separate CFLAGS parts gotten from CMake. Lack of spaces between them led to weird option artifacts like -Ifoo-Dbar. --- ports/zephyr/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/zephyr/CMakeLists.txt b/ports/zephyr/CMakeLists.txt index b360a711df..84b0e8190a 100644 --- a/ports/zephyr/CMakeLists.txt +++ b/ports/zephyr/CMakeLists.txt @@ -15,7 +15,7 @@ zephyr_get_compile_options_for_lang_as_string(C options) add_custom_target( outputexports COMMAND echo CC="${CMAKE_C_COMPILER}" - COMMAND echo Z_CFLAGS=${system_includes}${includes}${definitions}${options} + COMMAND echo Z_CFLAGS=${system_includes} ${includes} ${definitions} ${options} VERBATIM USES_TERMINAL )