Skip to content

Commit

Permalink
Disable CFI icall for linux x64
Browse files Browse the repository at this point in the history
  • Loading branch information
klzgrad committed Oct 6, 2024
1 parent 7cae202 commit c8c06bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ case "$EXTRA_FLAGS" in
;;
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"
mkdir -p out

Expand Down

0 comments on commit c8c06bd

Please sign in to comment.