aedi: set ARFLAGS environment variable

This commit is contained in:
alexey.lysiuk 2022-12-30 12:49:53 +02:00
parent 0d920b8940
commit 29096f6bd3

View file

@ -114,7 +114,7 @@ class BuildTarget(Target):
if cxx_compiler := state.cxx_compiler():
env['CXX'] = str(cxx_compiler)
for prefix in ('CPP', 'C', 'CXX', 'OBJC', 'OBJCXX'):
for prefix in ('AR', 'C', 'CPP', 'CXX', 'OBJC', 'OBJCXX'):
var_name = f'{prefix}FLAGS'
state.update_environment(var_name, f'-I{state.include_path}')