Skip to content

Commit 2a3190d

Browse files
authored
fix elseifeq and use older option core2-avx for compatibility
1 parent 1ebe5c0 commit 2a3190d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ ifeq ($(TARGET_CORE), SKYLAKEX)
1616
override CFLAGS += -fno-asynchronous-unwind-tables
1717
endif
1818
endif
19-
elseifeq($(TARGET_CORE), HASWELL)
20-
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=haswell
19+
else ifeq($(TARGET_CORE), HASWELL)
20+
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=core2-avx
2121
else
2222
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE)
2323
endif

0 commit comments

Comments
 (0)