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.
2 parents 1fefc7a + 59e5640 commit b46939dCopy full SHA for b46939d
Makefile
@@ -344,7 +344,7 @@ endif
344
# AVX Backed
345
AVX_STATUS = Disabled
346
AVX_FLAG := $(if $(filter clang,$(CC_VENDOR)),+avx,-mavx)
347
-AVX := $(filter $(AVX_FLAG),$(shell $(CC) $(CFLAGS) -v -E -x c /dev/null 2>&1))
+AVX := $(filter $(AVX_FLAG),$(shell $(CC) $(CFLAGS:-M%=) -v -E -x c /dev/null 2>&1))
348
AVX_BACKENDS = /cpu/self/avx/serial /cpu/self/avx/blocked
349
ifneq ($(AVX),)
350
AVX_STATUS = Enabled
0 commit comments