mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
gyp: aix: change gcc version detection so CXX="ccache g++" works
Signed-off-by: Stewart X Addison <sxa@ibm.com> PR-URL: https://github.com/nodejs/node/pull/61464 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
1 parent
b483b5a8ea
commit
e22aad19e0
1 file changed
+1
-1
+1
-1
@@ -610,7 +610,7 @@
|
||||
],
|
||||
}, { # else it's `AIX`
|
||||
'variables': {
|
||||
'gcc_major': '<!(<(python) -c "import os; import subprocess; CXX=os.environ.get(\'CXX\', \'g++\'); subprocess.run([CXX, \'-dumpversion\'])")'
|
||||
'gcc_major': '<!(sh -c "${CXX:-g++} -dumpversion")'
|
||||
},
|
||||
# Disable the following compiler warning:
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user