Skip to content

Commit f48ba24

Browse files
committed
tools: add -Wno-unused-function to v8 gyp
1 parent 25443db commit f48ba24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/v8_gypfiles/v8.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2421,6 +2421,9 @@
24212421
],
24222422
},
24232423
'include_dirs': ['.'],
2424+
# Keep the GYP target aligned with third_party/simdutf/BUILD.gn, which
2425+
# suppresses this warning for the amalgamated translation unit.
2426+
'cflags_cc': [ '-Wno-unused-function' ],
24242427
'sources': [
24252428
'<(V8_ROOT)/third_party/simdutf/simdutf.cpp',
24262429
],

0 commit comments

Comments
 (0)