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

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