Update Makefile

This commit is contained in:
Martin Kroeker 2022-08-30 16:51:11 +02:00 committed by GitHub
parent 17f8de44d7
commit 9b4a579158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ ifeq ($(C_COMPILER), GCC)
# AVX2 support was added in 4.7.0
GCCVERSIONCHECK := $(GCCVERSIONGT4)$(GCCVERSIONGTEQ4)$(GCCMINORVERSIONGTEQ7)
ifeq ($(GCCVERSIONCHECK), $(filter $(GCCVERSIONCHECK), 011 110 111))
AVX2OPT = -mavx2
AVX2OPT = -mavx2 -fno-tree-vectorize
endif
endif
ifeq ($(C_COMPILER), CLANG)