Disable CFI icall for linux x64

This commit is contained in:
klzgrad 2024-03-24 20:03:58 +08:00
parent 3d36931cbe
commit 14bf4d800c

View File

@ -92,6 +92,13 @@ case "$EXTRA_FLAGS" in
;; ;;
esac esac
# See https://github.com/llvm/llvm-project/issues/86430
if [ "$target_os" = "linux" -a "$target_cpu" = "x64" ]; then
flags="$flags"'
use_cfi_icall=false'
fi
rm -rf "./$out" rm -rf "./$out"
mkdir -p out mkdir -p out