Skip to content

Commit 3ed386b

Browse files
committed
enable extra flag
1 parent 78b0ccf commit 3ed386b

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
@@ -143,6 +143,8 @@ def _build_project(env, project, cmake_extra, build_tests=False, args_transforme
143143
compiler_flags.append(
144144
'-DCMAKE_{}_COMPILER={}'.format(opt.upper(), value))
145145
if 'clang-3' in value:
146+
# enable extra compiler flags
147+
compiler_flags.append("-Wextra")
146148
compiler_flags.append("-Wno-missing-field-initializers")
147149
cmake_args = UniqueList([
148150
"-B{}".format(project_build_dir),

0 commit comments

Comments
 (0)