Skip to content

Commit

Permalink
try setup cmake compile flags
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Jun 4, 2024
1 parent 3ed386b commit 8b89cda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions builder/actions/cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ def _build_project(env, project, cmake_extra, build_tests=False, args_transforme
'-DCMAKE_{}_COMPILER={}'.format(opt.upper(), value))
if 'clang-3' in value:
# enable extra compiler flags
compiler_flags.append("-Wextra")
compiler_flags.append("-Wno-missing-field-initializers")
compiler_flags.append("COMPILE_FLAGS=\"-Wextra,-Wno-missing-field-initializers\"")
cmake_args = UniqueList([
"-B{}".format(project_build_dir),
"-H{}".format(project_source_dir),
Expand Down

0 comments on commit 8b89cda

Please sign in to comment.