From eec2623cd9bd2130039ecb036414e6814f6e4ebd Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 3 Jun 2018 15:38:37 +0300 Subject: [PATCH] targets: zephyr: Separate CMake definitions from options. (#2378) Add a space between definition and options substitution groups, otherwise they make expand to something like -DFOO-DBAR. JerryScript-DCO-1.0-Signed-off-by: Paul Sokolovsky paul.sokolovsky@linaro.org --- targets/zephyr/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/zephyr/CMakeLists.txt b/targets/zephyr/CMakeLists.txt index d970e9625..815963914 100644 --- a/targets/zephyr/CMakeLists.txt +++ b/targets/zephyr/CMakeLists.txt @@ -40,7 +40,7 @@ add_custom_target( COMMAND echo Z_CFLAGS=${system_includes} ${includes} ${definitions} ${options} COMMAND echo NOSTDINC_FLAGS=${system_includes} COMMAND echo ZEPHYRINCLUDE=${includes} - COMMAND echo KBUILD_CFLAGS=${definitions}${options} + COMMAND echo KBUILD_CFLAGS=${definitions} ${options} VERBATIM USES_TERMINAL )