mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03: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
@ -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…
Reference in New Issue
Block a user