Addd work around for LLVM bug 35023.
Clang crashes when compiling zstd_compress.c with optimization for ARM targets. https://bugs.llvm.org/show_bug.cgi?id=35023
This commit is contained in:
parent
5320ef6adf
commit
30347b77cc
@ -38,4 +38,9 @@ ZSTDDIR= ${SRCTOP}/sys/contrib/zstd
|
||||
${ZSTDDIR}/lib/decompress ${ZSTDDIR}/lib/deprecated \
|
||||
${ZSTDDIR}/lib/dictBuilder ${ZSTDDIR}/lib
|
||||
|
||||
# Work around for LLVM bug 35023, https://bugs.llvm.org/show_bug.cgi?id=35023
|
||||
.if ${MACHINE_ARCH:Marm*} != ""
|
||||
CFLAGS.zstd_compress.c+= -O0
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user