pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/nodejs/node/commit/61e2d4856dfb4a036b7c9111668353d057471eec

r-b69241e157469407.css" /> tools: use CC instead of CXX when pointing to gcc · nodejs/node@61e2d48 · GitHub
Skip to content

Commit 61e2d48

Browse files
Milad FarazmandBethGriggs
authored andcommitted
tools: use CC instead of CXX when pointing to gcc
Current CC flag points to g++ instead of gcc which is causing failures when compiling V8. PR-URL: #30817 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 098704c commit 61e2d48

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/make-v8.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,15 @@ if [[ "$ARCH" == "s390x" ]] || [[ "$ARCH" == "ppc64le" ]]; then
1515
if [[ X"$CXX" != X ]]; then
1616
CXX_PATH=`which $CXX |grep g++`
1717
fi
18+
if [[ X"$CC" != X ]]; then
19+
CC_PATH=`which $CC |grep gcc`
20+
fi
1821
rm -f "$BUILD_TOOLS/g++"
1922
rm -f "$BUILD_TOOLS/gcc"
2023
fi
2124
if [[ "$ARCH" == "s390x" ]]; then
2225
ln -s $CXX_PATH "$BUILD_TOOLS/g++"
23-
ln -s $CXX_PATH "$BUILD_TOOLS/gcc"
26+
ln -s $CC_PATH "$BUILD_TOOLS/gcc"
2427
g++ --version
2528
export PKG_CONFIG_PATH=$BUILD_TOOLS/pkg-config
2629
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

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy