make sure the added march=skylake-avx512 does not cause problems on Windows
This commit is contained in:
parent
06f7d78d70
commit
51aec8e96b
|
@ -7,7 +7,15 @@ include $(TOPDIR)/Makefile.system
|
||||||
|
|
||||||
ifdef TARGET_CORE
|
ifdef TARGET_CORE
|
||||||
ifeq ($(TARGET_CORE), SKYLAKEX)
|
ifeq ($(TARGET_CORE), SKYLAKEX)
|
||||||
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=skylake-avx512
|
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=skylake-avx512
|
||||||
|
ifeq ($(OSNAME), CYGWIN_NT)
|
||||||
|
override CFLAGS += -fno-asynchronous-unwind-tables
|
||||||
|
endif
|
||||||
|
ifeq ($(OSNAME), WINNT)
|
||||||
|
ifeq ($(C_COMPILER), GCC)
|
||||||
|
override CFLAGS += -fno-asynchronous-unwind-tables
|
||||||
|
endif
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE)
|
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue