ports/lang/node/patches/patch-tools_v8_gypfiles_toolchain_gypi

17 lines
555 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: tools/v8_gypfiles/toolchain.gypi
--- tools/v8_gypfiles/toolchain.gypi.orig
+++ tools/v8_gypfiles/toolchain.gypi
@@ -861,11 +861,9 @@
2023-08-16 22:26:55 +00:00
# Don't use -O3 with sanitizers.
['asan==0 and msan==0 and lsan==0 \
and tsan==0 and ubsan==0 and ubsan_vptr==0', {
- 'cflags': ['-O3'],
- 'cflags!': ['-O2'],
+ 'cflags': ['-O2'],
}, {
'cflags': ['-O2'],
- 'cflags!': ['-O3'],
}],
],
}],