fix is_cfi build error in debug
This commit is contained in:
parent
cc085e6ebb
commit
d184899841
@ -15,6 +15,7 @@ if(getenv("TARGET_CPU") != "") {
|
||||
|
||||
enable_kythe_annotations = true
|
||||
clang_use_chrome_plugins = false
|
||||
chrome_public_manifest_package = "org.bromite.bromite.dev"
|
||||
|
||||
if(_is_debug_build == "true") {
|
||||
# print("Debug build on")
|
||||
@ -24,6 +25,11 @@ if(_is_debug_build == "true") {
|
||||
symbol_level = 1
|
||||
strip_debug_info = false
|
||||
generate_linker_map = false
|
||||
|
||||
# since is_cfi require use_thin_lto
|
||||
# but not work in debug mode
|
||||
is_cfi = false # disable it
|
||||
use_cfi_cast = false # disable it
|
||||
} else {
|
||||
generate_linker_map = true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user