Skip to content

Commit

Permalink
Add --noenable_bzlmod to .bazelrc
Browse files Browse the repository at this point in the history
* This is a workaround for the build failure.

```
./base/logging.h:175:9: error: no match for 'operator<<' (operand types are 'std::ostringstream' {aka 'std::__cxx11::basic_ostringstream<char>'} and 'const mozc::commands::Input')
  175 |     os_ << v;
      |     ~~~~^~~~
In file included from /usr/include/c++/13/bits/unique_ptr.h:42,
                 from /usr/include/c++/13/memory:78,
                 from ./client/client.h:36,
                 from client/client.cc:32:
```

PiperOrigin-RevId: 591739675
  • Loading branch information
hiroyuki-komatsu committed Dec 18, 2023
1 parent ee558c2 commit 094199c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ build --host_copt "-funsigned-char"
build --host_copt "-Wno-sign-compare"
build --host_copt "-Wno-char-subscripts"
build --objccopt "-fsigned-char"
# enable_bzlmod causes the build failure. Suppress it util the fix.
build --noenable_bzlmod

# Linux
build:linux --define TARGET=oss_linux --copt "-fPIC"
Expand Down

0 comments on commit 094199c

Please sign in to comment.