Fix quotes around compiler args in C11 check

This commit is contained in:
Martin Kroeker 2022-06-08 11:22:20 +02:00 committed by GitHub
parent eb1faada19
commit 79d98327e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ case "$data" in
tmpd=`mktemp -d` tmpd=`mktemp -d`
tmpf="$tmpd/a.c" tmpf="$tmpd/a.c"
printf "#include <stdatomic.h>\nint main(void){}\n" >> "$tmpf" printf "#include <stdatomic.h>\nint main(void){}\n" >> "$tmpf"
args=' -c -o $tmpf.o $tmpf' args=" -c -o $tmpf.o $tmpf"
c11_atomics=1 c11_atomics=1
{ {
$compiler_name $flags $args >/dev/null 2>&1 $compiler_name $flags $args >/dev/null 2>&1