Skip to content

Commit b46939d

Browse files
authored
Merge pull request #1108 from CEED/jed/fix-makefile-null.d
Makefile: avoid creating null.d file (fix #1107)
2 parents 1fefc7a + 59e5640 commit b46939d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ endif
344344
# AVX Backed
345345
AVX_STATUS = Disabled
346346
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))
347+
AVX := $(filter $(AVX_FLAG),$(shell $(CC) $(CFLAGS:-M%=) -v -E -x c /dev/null 2>&1))
348348
AVX_BACKENDS = /cpu/self/avx/serial /cpu/self/avx/blocked
349349
ifneq ($(AVX),)
350350
AVX_STATUS = Enabled

0 commit comments

Comments
 (0)