fix elseifeq and use older option core2-avx for compatibility
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sat, 15 Dec 2018 19:17:44 +0000 (20:17 +0100)
committerGitHub <noreply@github.com>
Sat, 15 Dec 2018 19:17:44 +0000 (20:17 +0100)
kernel/Makefile

index d86411d..169c7f7 100644 (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