mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-08 19:52:06 +00:00
build: Don't use target_sysroot for host_toolchain
protoc should be built with the host toolchain, usually not needing the sysroot.
This commit is contained in:
parent
77bd30282c
commit
83d2f59b4b
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ declare_args() {
|
|||
}
|
||||
|
||||
if (current_os == target_os && current_cpu == target_cpu &&
|
||||
current_toolchain == default_toolchain &&
|
||||
target_sysroot != "") {
|
||||
sysroot = target_sysroot
|
||||
} else if (is_android) {
|
||||
|
|
Loading…
Add table
Reference in a new issue