Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
fcitx5-mozc


Commits:
fae64f3e by Weng Xuetian at 2025-02-11T22:47:44-08:00
Rebuild with --copt=-DNDEBUG and also populate CFLAGS to --conlyopt.

Initially no config is used for bazel to avoid bazel's builtin CFLAGS,
will actually enable some debug code path and display extra debug
information.

Fix #4

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -49,7 +49,7 @@ _pkgbase=mozc
 pkgname=fcitx5-mozc
 pkgdesc="Fcitx5 Module of A Japanese Input Method for Chromium OS, Windows, 
Mac and Linux (the Open Source Edition of Google Japanese Input)"
 pkgver=2.31.5712.102.g9dc8247
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url="https://github.com/google/mozc";
 license=('BSD-3-Clause AND Apache-2.0 AND LGPL-2.0-or-later AND 
LicenseRef-Unicode-DFS-2015 AND LicenseRef-NAIST-2003')
@@ -139,9 +139,12 @@ build() {
   # Use srcdir for pre-download files and override registry with local mirror.
   # bazel only respects CC from environment, not CXXFLAGS and LDFLAGS.
   # Pass them with --cxxopt, and --linkopt.
-  bazel build --config oss_linux \
+  bazel build \
+      --config oss_linux \
       --distdir="${srcdir}" \
       --registry="file://${srcdir}/bazel-central-registry" \
+      --copt=-DNDEBUG \
+      $(echo "${CFLAGS}"|xargs -n1 echo "--conlyopt") \
       $(echo "${CXXFLAGS}"|xargs -n1 echo "--cxxopt") \
       --nostart_end_lib \
       --linkopt=-fuse-ld=bfd \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fcitx5-mozc/-/commit/fae64f3e2fa03a9e47c7912c6d4a0a4a065e2296

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/fcitx5-mozc/-/commit/fae64f3e2fa03a9e47c7912c6d4a0a4a065e2296
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to