mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
build: suppress compiler warnings for histogram
Synchronize compiler flags in the gyp build and unofficial gn build of `deps/histogram`. Signed-off-by: Richard Lau <richard.lau@ibm.com> PR-URL: https://github.com/nodejs/node/pull/63980 Fixes: https://github.com/nodejs/node/issues/63979 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
1 parent
57a4932a9d
commit
dcbb21e06f
1 file changed
+23
Vendored
+23
@@ -13,6 +13,29 @@
|
||||
'xcode_settings': {
|
||||
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
|
||||
},
|
||||
'conditions': [
|
||||
[ 'clang==1', {
|
||||
'conditions': [
|
||||
[ 'OS=="win"', {
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'AdditionalOptions': [
|
||||
'-Wno-atomic-alignment',
|
||||
'-Wno-incompatible-pointer-types',
|
||||
'-Wno-unused-function'
|
||||
],
|
||||
},
|
||||
},
|
||||
}, {
|
||||
'cflags': [
|
||||
'-Wno-atomic-alignment',
|
||||
'-Wno-incompatible-pointer-types',
|
||||
'-Wno-unused-function'
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
],
|
||||
'include_dirs': ['src', 'include'],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [ 'src', 'include' ]
|
||||
|
||||
Reference in new issue
Block a user