fix elseifeq and use older option core2-avx for compatibility

This commit is contained in:
Martin Kroeker 2018-12-15 20:17:44 +01:00 committed by GitHub
parent 1ebe5c0f49
commit 2a3190dc76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ ifeq ($(TARGET_CORE), SKYLAKEX)
override CFLAGS += -fno-asynchronous-unwind-tables
endif
endif
elseifeq($(TARGET_CORE), HASWELL)
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=haswell
else ifeq($(TARGET_CORE), HASWELL)
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=core2-avx
else
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE)
endif