1

Fix missing parameter expansion operator

This commit is contained in:
Jessie Hildebrandt 2023-06-14 15:49:22 -04:00
parent 4e30ebcbc8
commit 09defe15e5

View File

@ -273,7 +273,7 @@ esac
# x86-64-v3 CPU support detection
CPU_FLAGS=$(cat /proc/cpuinfo | grep flags | head -n 1 | cut -d: -f2)
if
echo CPU_FLAGS | awk '/avx/&&/avx2/&&/bmi1/&&/bmi2/&&/f16c/&&/fma/&&/abm/&&/movbe/&&/xsave/ {found=1} END {exit !found}'
echo ${CPU_FLAGS} | awk '/avx/&&/avx2/&&/bmi1/&&/bmi2/&&/f16c/&&/fma/&&/abm/&&/movbe/&&/xsave/ {found=1} END {exit !found}'
then
detected_features+=('x86-64-v3')
fi