Skip to content

Commit 4edc6db

Browse files
build,win: disable node pch with ccache
PR-URL: #57224 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent c7cf677 commit 4edc6db

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

node.gypi

+10-6
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,16 @@
6969
'NODE_PLATFORM="win32"',
7070
'_UNICODE=1',
7171
],
72-
'msvs_precompiled_header': 'tools/msvs/pch/node_pch.h',
73-
'msvs_precompiled_source': 'tools/msvs/pch/node_pch.cc',
74-
'sources': [
75-
'<(_msvs_precompiled_header)',
76-
'<(_msvs_precompiled_source)',
77-
],
72+
'conditions': [
73+
['clang != 1 or use_ccache_win != 1', {
74+
'msvs_precompiled_header': 'tools/msvs/pch/node_pch.h',
75+
'msvs_precompiled_source': 'tools/msvs/pch/node_pch.cc',
76+
'sources': [
77+
'<(_msvs_precompiled_header)',
78+
'<(_msvs_precompiled_source)',
79+
],
80+
}]
81+
]
7882
}, { # POSIX
7983
'defines': [ '__POSIX__' ],
8084
}],

0 commit comments

Comments
 (0)