Skip to content

Commit 78b0ccf

Browse files
committed
try setup flag for clang3
1 parent 0e57f95 commit 78b0ccf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

builder/actions/cmake.py

+2
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ def _build_project(env, project, cmake_extra, build_tests=False, args_transforme
142142
if value:
143143
compiler_flags.append(
144144
'-DCMAKE_{}_COMPILER={}'.format(opt.upper(), value))
145+
if 'clang-3' in value:
146+
compiler_flags.append("-Wno-missing-field-initializers")
145147
cmake_args = UniqueList([
146148
"-B{}".format(project_build_dir),
147149
"-H{}".format(project_source_dir),

0 commit comments

Comments
 (0)