Skip to content

Commit 26a4da3

Browse files
committed
chore: update cpu_features.cmake
1 parent b5d7020 commit 26a4da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/cpu_features.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ elseif (ARCH_AMD64)
156156
endif()
157157

158158
# Same best-effort check for x86 as above for ARM.
159-
if (OS_LINUX AND CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "amd64|x86_64" AND NOT NO_SSE3_OR_HIGHER)
159+
if (OS_LINUX AND CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "amd64|x86_64" AND NOT NO_SSE3_OR_HIGHER AND NOT USE_MUSL)
160160
# Test for flags in standard profile but not in NO_SSE3_OR_HIGHER profile.
161161
# /proc/cpuid for Intel Xeon 8124: "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse
162162
# sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf

0 commit comments

Comments
 (0)