Skip to content

Commit

Permalink
Merge pull request #1108 from CEED/jed/fix-makefile-null.d
Browse files Browse the repository at this point in the history
Makefile: avoid creating null.d file (fix #1107)
  • Loading branch information
jedbrown committed Dec 6, 2022
2 parents 1fefc7a + 59e5640 commit b46939d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ endif
# AVX Backed
AVX_STATUS = Disabled
AVX_FLAG := $(if $(filter clang,$(CC_VENDOR)),+avx,-mavx)
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))
AVX_BACKENDS = /cpu/self/avx/serial /cpu/self/avx/blocked
ifneq ($(AVX),)
AVX_STATUS = Enabled
Expand Down

0 comments on commit b46939d

Please sign in to comment.