Thanks @asura for the solution.
Step-by-step guide for noobs like me:
- Install
gcc13
- Edit PKGBUILD file before building the package:
- Add two lines to the
build()
function beforebazel build ...
:export CC='/usr/bin/gcc-13' export CXX='/usr/bin/g++-13'
- If you don't have
mozc
installed, also add the same two lines to the PKGBUILD file formozc
package.
- Add two lines to the
Pinned Comments
Nocifer commented on 2022-05-29 21:55 (UTC) (edited on 2023-08-22 09:32 (UTC) by Nocifer)
If you're getting compilation errors, please delete your Bazel cache (
~/.cache/bazel
by default).