0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-02 17:01:55 -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
use_dummy_lastchange = true
use_sysroot = false
win_crt_flavor_agnostic = true
simple_template_names = false
# Minimize size of debuginfo in distributed static library.

View file

@ -24,6 +24,11 @@ config("rusty_v8_config") {
"//v8:features",
]
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
# internal V8 headers.