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 7cd1ae0 commit d6eb9dd
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:/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 d6eb9dd

Please sign in to comment.