mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
Update BUILD.gn
This commit is contained in:
parent
9625bf9b4e
commit
7ecfe17bb5
1 changed files with 5 additions and 5 deletions
|
@ -421,7 +421,7 @@ config("compiler") {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Apple compiler flags setup.
|
||||
# ---------------------------------
|
||||
if (is_apple) {
|
||||
|
@ -1537,7 +1537,7 @@ config("default_warnings") {
|
|||
# TODO(thakis): Only for no_chromium_code? http://crbug.com/912662
|
||||
"-Wno-ignored-pragma-optimize",
|
||||
]
|
||||
|
||||
|
||||
if (!is_nacl) {
|
||||
cflags += [
|
||||
# TODO(https://crbug.com/1300731) Clean up and enable.
|
||||
|
@ -2527,7 +2527,7 @@ config("minimal_symbols") {
|
|||
cflags += [ "-gcodeview-ghash" ]
|
||||
ldflags = [ "/DEBUG:GHASH" ]
|
||||
} else {
|
||||
ldflags = [ "/DEBUG:NONE" ]
|
||||
ldflags = [ "/DEBUG" ]
|
||||
}
|
||||
|
||||
# All configs using /DEBUG should include this:
|
||||
|
@ -2563,7 +2563,7 @@ config("minimal_symbols") {
|
|||
# flag, so we can use use -g1 for pnacl and nacl-clang compiles.
|
||||
# gcc nacl is is_nacl && !is_clang, pnacl and nacl-clang are && is_clang.
|
||||
if (!is_nacl || is_clang) {
|
||||
cflags += [ "-g" ]
|
||||
cflags += [ "-g1" ]
|
||||
}
|
||||
|
||||
if (!is_nacl && is_clang && !is_tsan && !is_asan) {
|
||||
|
@ -2592,7 +2592,7 @@ config("minimal_symbols") {
|
|||
# names in the final debug information.
|
||||
config("no_symbols") {
|
||||
if (is_win) {
|
||||
ldflags = [ "/DEBUG:NONE" ]
|
||||
ldflags = [ "/DEBUG" ]
|
||||
|
||||
# All configs using /DEBUG should include this:
|
||||
configs = [ ":win_pdbaltpath" ]
|
||||
|
|
Loading…
Reference in a new issue