electron19: fix build with gcc 12
This commit is contained in:
@@ -201,6 +201,9 @@ pre_configure() {
|
|||||||
vsed -e 's|python3.10|python3.11|g' -i third_party/electron_node/configure
|
vsed -e 's|python3.10|python3.11|g' -i third_party/electron_node/configure
|
||||||
vsed -e "s|(3, 10)|(3, 11)|" -i third_party/electron_node/configure
|
vsed -e "s|(3, 10)|(3, 11)|" -i third_party/electron_node/configure
|
||||||
|
|
||||||
|
# Add missing include
|
||||||
|
vsed -e "s|#include <algorithm>|&\n#include <utility>|" -i base/third_party/symbolize/symbolize.h
|
||||||
|
|
||||||
mkdir -p third_party/node/linux/node-linux-x64/bin
|
mkdir -p third_party/node/linux/node-linux-x64/bin
|
||||||
ln -sf /usr/bin/node third_party/node/linux/node-linux-x64/bin/
|
ln -sf /usr/bin/node third_party/node/linux/node-linux-x64/bin/
|
||||||
rm -f third_party/devtools-frontend/src/third_party/esbuild/esbuild
|
rm -f third_party/devtools-frontend/src/third_party/esbuild/esbuild
|
||||||
|
|||||||
Reference in New Issue
Block a user