Skip to content

Commit b606fd7

Browse files
committed
gyp: aix: change gcc version detection so CXX="ccache g++" works
Signed-off-by: Stewart X Addison <sxa@ibm.com>
1 parent 87d7db1 commit b606fd7

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)