Add workaround to get clang to accept avx-512 instructions

This commit is contained in:
Stan Shebs 2018-02-07 12:57:16 -08:00
parent edeaa90058
commit 6614ff3213

View File

@ -1,6 +1,13 @@
# The i387 `long double' is a distinct type we support.
long-double-fcts = yes
ifeq ($(with-clang),yes)
# Clang integrated assembler objects to AVX-512 instructions if not specifically
# allowed. (-mavx512 is the preferred option but does not work in 5.0)
ASFLAGS-.o += -march=knl
ASFLAGS-.os += -march=knl
endif
ifeq ($(subdir),csu)
gen-as-const-headers += link-defines.sym
endif