mirror of
https://github.com/mii443/mozc.git
synced 2025-08-22 16:15:46 +00:00
Enable to build protobuf v30 with Bazel+MSVC (#1178)
As seen in the following thread, the protobuf team is planning to stop supporting the combination of Bazel and cl.exe due to well-known its path length limitation. * https://github.com/protocolbuffers/protobuf/issues/20085 As a preparation before switching to protobuf v30 (#1177), let's explicitly add a commandline option as explained to continue using this combination as a short term solution. This commit should have no impact on Probobuf v29.x. PiperOrigin-RevId: 725882774
This commit is contained in:
@ -43,6 +43,9 @@ build:compiler_msvc_like --copt "/J" --host_copt "/J"
|
||||
build:compiler_msvc_like --copt "/utf-8" --host_copt "/utf-8"
|
||||
build:compiler_msvc_like --cxxopt "/J" --host_cxxopt "/J"
|
||||
build:compiler_msvc_like --cxxopt "/utf-8" --host_cxxopt "/utf-8"
|
||||
## See https://github.com/protocolbuffers/protobuf/issues/20085
|
||||
## This can be removed if we can switch to clang-cl for Windows
|
||||
build:compiler_msvc_like --define=protobuf_allow_msvc=true
|
||||
|
||||
## Linux specific options
|
||||
build:linux_env --build_tag_filters=-nolinux --copt "-fPIC"
|
||||
|
Reference in New Issue
Block a user