From 18d50079385b276db18614d60bffee98593bfb2e Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Wed, 11 Oct 2023 11:51:15 +0300 Subject: [PATCH] aedi: make extra linker flags detection silent --- aedi/target/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aedi/target/base.py b/aedi/target/base.py index 5581976e..01c640a7 100644 --- a/aedi/target/base.py +++ b/aedi/target/base.py @@ -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: