File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ ExternalProject_Add(libjerry
165165 -DJERRY_VM_EXEC_STOP=ON
166166 -DJERRY_ERROR_MESSAGES=ON
167167 -DENABLE_LTO=${ENABLE_LTO}
168+ "-DEXTERNAL_COMPILE_FLAGS=${JERRY_EXTERNAL_COMPILE_FLAGS} "
168169 ${DEPS_LIB_JERRY_ARGS}
169170 ${EXTRA_JERRY_CMAKE_PARAMS}
170171 BUILD_BYPRODUCTS ${JERRY_LIB_BUILD_BYPRODUCTS}
Original file line number Diff line number Diff line change @@ -264,11 +264,14 @@ def build_cmake_args(options):
264264 cmake_args = []
265265 # compile flags
266266 compile_flags = options .compile_flag
267- compile_flags += options .jerry_compile_flag
268267
269268 cmake_args .append ("-DEXTERNAL_COMPILE_FLAGS='%s'" %
270269 (' ' .join (compile_flags )))
271270
271+ jerry_compile_flag = options .jerry_compile_flag
272+ cmake_args .append ("-DJERRY_EXTERNAL_COMPILE_FLAGS='%s'" %
273+ (' ' .join (jerry_compile_flag )))
274+
272275 # link flags
273276 link_flags = options .link_flag
274277
You can’t perform that action at this time.
0 commit comments