mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 06:31:37 +00:00
aedi: make extra linker flags detection silent
This commit is contained in:
parent
db80bdab38
commit
18d5007938
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ Cflags: -I${{includedir}} {cflags}
|
||||||
check_args = ('clang', '-xc++', ld_classic_arg, '-')
|
check_args = ('clang', '-xc++', ld_classic_arg, '-')
|
||||||
check_code = b'int main() {}'
|
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
|
this.flags = ld_classic_arg
|
||||||
os.unlink('a.out')
|
os.unlink('a.out')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue