Browse Source

Hopefully a workaround to make building V8 work again

master
Ray Burgemeestre 1 year ago
parent
commit
383fee5115
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      v8pp/build-v8.sh

+ 3
- 0
v8pp/build-v8.sh View File

# I asked a question about this here: https://groups.google.com/forum/#!topic/v8-users/Do5MvAvYFgs # I asked a question about this here: https://groups.google.com/forum/#!topic/v8-users/Do5MvAvYFgs
sed -i.bak 's/_LIBCPP_ABI_VERSION=Cr/_LIBCPP_ABI_VERSION=1/' build/config/c++/BUILD.gn sed -i.bak 's/_LIBCPP_ABI_VERSION=Cr/_LIBCPP_ABI_VERSION=1/' build/config/c++/BUILD.gn


# https://groups.google.com/g/v8-dev/c/AJjIyKMpFmA
sed -i.bak 's/"-Wctad-maybe-unsupported"//' BUILD.gn

# workaround, see notes.txt # workaround, see notes.txt
echo "v8_enable_embedded_builtins = false" | tee -a out/x64.release/args.gn echo "v8_enable_embedded_builtins = false" | tee -a out/x64.release/args.gn
echo "v8_use_external_startup_data = false" | tee -a out/x64.release/args.gn echo "v8_use_external_startup_data = false" | tee -a out/x64.release/args.gn

Loading…
Cancel
Save