aedi: make extra linker flags detection silent

This commit is contained in:
alexey.lysiuk 2023-10-11 11:51:15 +03:00
parent db80bdab38
commit 18d5007938
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ Cflags: -I${{includedir}} {cflags}
check_args = ('clang', '-xc++', ld_classic_arg, '-')
check_code = b'int main() {}'
if subprocess.run(check_args, input=check_code).returncode == 0:
if subprocess.run(check_args, capture_output=True, input=check_code).returncode == 0:
this.flags = ld_classic_arg
os.unlink('a.out')
else: