Invert no_hwcap variable
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
768bc143ad
commit
37801d714b
1 changed files with 2 additions and 2 deletions
|
@ -4344,9 +4344,9 @@ support_build_sha_armce() {
|
||||||
clang_ver="$(clang --version|grep version|sed -E 's#.*version ([0-9]+).*#\1#')"
|
clang_ver="$(clang --version|grep version|sed -E 's#.*version ([0-9]+).*#\1#')"
|
||||||
|
|
||||||
# we need asm/hwcap.h available for runtime detection
|
# we need asm/hwcap.h available for runtime detection
|
||||||
echo '#include <asm/hwcap.h>' | clang -E - >/dev/null 2>&1 && no_hwcap=0 || no_hwcap=1
|
echo '#include <asm/hwcap.h>' | clang -E - >/dev/null 2>&1 && have_hwcap=1 || have_hwcap=0
|
||||||
|
|
||||||
[[ "${clang_ver}" -ge 4 && "${no_hwcap}" -eq 0 ]]
|
[[ "${clang_ver}" -ge 4 && "${have_hwcap}" -eq 1 ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
component_build_sha_armce () {
|
component_build_sha_armce () {
|
||||||
|
|
Loading…
Reference in a new issue