We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 694f6c5 commit 9fbeb88Copy full SHA for 9fbeb88
Makefile.prebuild
@@ -71,7 +71,8 @@ endif
71
72
73
getarch : getarch.c cpuid.S dummy $(CPUIDEMU)
74
- $(HOSTCC) $(HOST_CFLAGS) $(EXFLAGS) -o $(@F) getarch.c cpuid.S $(CPUIDEMU)
+ avx512=$$(perl c_check - - gcc | grep NO_AVX512); \
75
+ $(HOSTCC) $(HOST_CFLAGS) $(EXFLAGS) $${avx512:+-D$${avx512}} -o $(@F) getarch.c cpuid.S $(CPUIDEMU)
76
77
getarch_2nd : getarch_2nd.c config.h dummy
78
ifndef TARGET_CORE
0 commit comments