Fix missing parameter expansion operator
This commit is contained in:
parent
4e30ebcbc8
commit
09defe15e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user