Skip to content

Commit

Permalink
vs: Honour compiler's get_always_args()
Browse files Browse the repository at this point in the history
  • Loading branch information
lb90 committed Nov 22, 2024
1 parent 02afa05 commit 3762b71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mesonbuild/backend/vs2010backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,8 @@ def get_args_defines_and_inc_dirs(self, target, compiler, generated_files_includ

@staticmethod
def get_build_args(compiler, optimization_level: str, debug: bool, sanitize: str) -> T.List[str]:
build_args = compiler.get_optimization_args(optimization_level)
build_args = compiler.get_always_args()
build_args += compiler.get_optimization_args(optimization_level)
build_args += compiler.get_debug_args(debug)
build_args += compiler.sanitizer_compile_args(sanitize)

Expand Down

0 comments on commit 3762b71

Please sign in to comment.