Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 098704c commit 61e2d48Copy full SHA for 61e2d48
tools/make-v8.sh
@@ -15,12 +15,15 @@ if [[ "$ARCH" == "s390x" ]] || [[ "$ARCH" == "ppc64le" ]]; then
15
if [[ X"$CXX" != X ]]; then
16
CXX_PATH=`which $CXX |grep g++`
17
fi
18
+ if [[ X"$CC" != X ]]; then
19
+ CC_PATH=`which $CC |grep gcc`
20
+ fi
21
rm -f "$BUILD_TOOLS/g++"
22
rm -f "$BUILD_TOOLS/gcc"
23
24
if [[ "$ARCH" == "s390x" ]]; then
25
ln -s $CXX_PATH "$BUILD_TOOLS/g++"
- ln -s $CXX_PATH "$BUILD_TOOLS/gcc"
26
+ ln -s $CC_PATH "$BUILD_TOOLS/gcc"
27
g++ --version
28
export PKG_CONFIG_PATH=$BUILD_TOOLS/pkg-config
29
gn gen -v out.gn/$BUILD_ARCH_TYPE --args='is_component_build=false is_debug=false use_goma=false goma_dir="None" use_custom_libcxx=false v8_target_cpu="s390x" target_cpu="s390x"'
0 commit comments