mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-19 07:00:08 +00:00
Add workaround to get clang to accept avx-512 instructions
This commit is contained in:
parent
edeaa90058
commit
6614ff3213
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user