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:
parent
733f79a08b
commit
ee7ab5465e
2 changed files with 5 additions and 1 deletions
1
.gn
1
.gn
|
@ -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.
|
||||||
|
|
5
BUILD.gn
5
BUILD.gn
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue