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
165
165
-DJERRY_VM_EXEC_STOP=ON
166
166
-DJERRY_ERROR_MESSAGES=ON
167
167
-DENABLE_LTO=${ENABLE_LTO}
168
+ "-DEXTERNAL_COMPILE_FLAGS=${JERRY_EXTERNAL_COMPILE_FLAGS} "
168
169
${DEPS_LIB_JERRY_ARGS}
169
170
${EXTRA_JERRY_CMAKE_PARAMS}
170
171
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):
264
264
cmake_args = []
265
265
# compile flags
266
266
compile_flags = options .compile_flag
267
- compile_flags += options .jerry_compile_flag
268
267
269
268
cmake_args .append ("-DEXTERNAL_COMPILE_FLAGS='%s'" %
270
269
(' ' .join (compile_flags )))
271
270
271
+ jerry_compile_flag = options .jerry_compile_flag
272
+ cmake_args .append ("-DJERRY_EXTERNAL_COMPILE_FLAGS='%s'" %
273
+ (' ' .join (jerry_compile_flag )))
274
+
272
275
# link flags
273
276
link_flags = options .link_flag
274
277
You can’t perform that action at this time.
0 commit comments