0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-12 02:27:50 -05:00

fix: ensure /Zl flag (#1572)

This commit is contained in:
snek 2024-08-16 18:55:37 +02:00 committed by GitHub
parent 733f79a08b
commit ee7ab5465e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

1
.gn
View file

@ -22,7 +22,6 @@ default_args = {
linux_use_bundled_binutils = false linux_use_bundled_binutils = false
use_dummy_lastchange = true use_dummy_lastchange = true
use_sysroot = false use_sysroot = false
win_crt_flavor_agnostic = true
simple_template_names = false simple_template_names = false
# Minimize size of debuginfo in distributed static library. # Minimize size of debuginfo in distributed static library.

View file

@ -24,6 +24,11 @@ config("rusty_v8_config") {
"//v8:features", "//v8:features",
] ]
cflags = [] cflags = []
if (is_win) {
# The `/Zl` ("omit default library name") flag makes the compiler produce
# object files that can link with both the static and dynamic CRT.
cflags += [ "/Zl" ]
}
# We need these directories in the search path to be able to include some # We need these directories in the search path to be able to include some
# internal V8 headers. # internal V8 headers.