mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326232
|
@ -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…
Reference in a new issue