Skip to content

Commit 7a08010

Browse files
authored
Fix trashing of $data that breaks the check for C11 atomics
1 parent 91f97c6 commit 7a08010

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

c_check

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ no_sme=0
342342
is_appleclang=0
343343
if [ "$architecture" = "arm64" ]; then
344344
if [ "$compiler" = "CLANG" ]; then
345-
data=`$compiler_name --version`
346-
case "$data" in Apple*)
345+
vdata=`$compiler_name --version`
346+
case "$vdata" in Apple*)
347347
is_appleclang=1
348348
esac
349349
fi

0 commit comments

Comments
 (0)