Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8abd54f

Browse files
sxaaduh95
authored andcommitted
gyp: aix: change gcc version detection so CXX="ccache g++" works
Signed-off-by: Stewart X Addison <[email protected]> PR-URL: #61464 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]>
1 parent 696935e commit 8abd54f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@
598598
],
599599
}, { # else it's `AIX`
600600
'variables': {
601-
'gcc_major': '<!(<(python) -c "import os; import subprocess; CXX=os.environ.get(\'CXX\', \'g++\'); subprocess.run([CXX, \'-dumpversion\'])")'
601+
'gcc_major': '<!(sh -c "${CXX:-g++} -dumpversion")'
602602
},
603603
# Disable the following compiler warning:
604604
#

0 commit comments

Comments
 (0)