Skip to content

Commit 8b89cda

Browse files
committed
try setup cmake compile flags
1 parent 3ed386b commit 8b89cda

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

builder/actions/cmake.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ def _build_project(env, project, cmake_extra, build_tests=False, args_transforme
144144
'-DCMAKE_{}_COMPILER={}'.format(opt.upper(), value))
145145
if 'clang-3' in value:
146146
# enable extra compiler flags
147-
compiler_flags.append("-Wextra")
148-
compiler_flags.append("-Wno-missing-field-initializers")
147+
compiler_flags.append("COMPILE_FLAGS=\"-Wextra,-Wno-missing-field-initializers\"")
149148
cmake_args = UniqueList([
150149
"-B{}".format(project_build_dir),
151150
"-H{}".format(project_source_dir),

0 commit comments

Comments
 (0)