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
ac2142ed6e
commit
6ca5d58989
@ -21,6 +21,7 @@ declare_args() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (current_os == target_os && current_cpu == target_cpu &&
|
if (current_os == target_os && current_cpu == target_cpu &&
|
||||||
|
current_toolchain == default_toolchain &&
|
||||||
target_sysroot != "") {
|
target_sysroot != "") {
|
||||||
sysroot = target_sysroot
|
sysroot = target_sysroot
|
||||||
} else if (is_android) {
|
} else if (is_android) {
|
||||||
|
Loading…
Reference in New Issue
Block a user