summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasato TOYOSHIMA2024-12-10 10:19:51 +0900
committerMasato TOYOSHIMA2024-12-10 10:19:51 +0900
commitfc469ca923bd3ef69ce5388f4dac87394730e03f (patch)
treecd358f6dfb19e241437c1db54ec2b42d57bbe5d9
parent70ba4f69e7cd85092df9c87db3aa00f19d29ed61 (diff)
downloadaur-fc469ca923bd3ef69ce5388f4dac87394730e03f.tar.gz
Specifying the bazel version in bazelisk
-rw-r--r--PKGBUILD1
-rw-r--r--PKGBUILD.fcitx1
-rw-r--r--PKGBUILD.fcitx.normal1
-rw-r--r--PKGBUILD.normal1
4 files changed, 4 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 27f92adfd29f..c4a2aad34520 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -144,6 +144,7 @@ build() {
cd ${srcdir}/mozc/src || exit
+ export USE_BAZEL_VERSION=7.4.1
BAZEL_COPTS=$(echo ${CPPFLAGS} ${CFLAGS} | xargs -n1 |grep -v _FORTIFY_SOURCE | xargs -n1 echo "--copt")
BAZEL_CXXOPTS=$(echo ${CPPFLAGS} ${CXXFLAGS} | xargs -n1 |grep -v _FORTIFY_SOURCE | xargs -n1 echo "--cxxopt")
LDFLAGS="${LDFLAGS} -fuse-ld=mold"
diff --git a/PKGBUILD.fcitx b/PKGBUILD.fcitx
index fc7ba3cd0d2d..61e95e369ead 100644
--- a/PKGBUILD.fcitx
+++ b/PKGBUILD.fcitx
@@ -142,6 +142,7 @@ build() {
CFLAGS="${CFLAGS} -fvisibility=hidden"
CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
+ export USE_BAZEL_VERSION=7.4.1
BAZEL_COPTS=$(echo ${CPPFLAGS} ${CFLAGS} | xargs -n1 |grep -v _FORTIFY_SOURCE | xargs -n1 echo "--copt")
BAZEL_CXXOPTS=$(echo ${CPPFLAGS} ${CXXFLAGS} | xargs -n1 |grep -v _FORTIFY_SOURCE | xargs -n1 echo "--cxxopt")
LDFLAGS="${LDFLAGS} -fuse-ld=mold"
diff --git a/PKGBUILD.fcitx.normal b/PKGBUILD.fcitx.normal
index 73bee578cbd8..aba06a519097 100644
--- a/PKGBUILD.fcitx.normal
+++ b/PKGBUILD.fcitx.normal
@@ -94,6 +94,7 @@ build() {
CFLAGS="${CFLAGS} -fvisibility=hidden"
CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
+ export USE_BAZEL_VERSION=7.4.1
BAZEL_COPTS=$(echo ${CPPFLAGS} ${CFLAGS} | xargs -n1 |grep -v _FORTIFY_SOURCE | xargs -n1 echo "--copt")
BAZEL_CXXOPTS=$(echo ${CPPFLAGS} ${CXXFLAGS} | xargs -n1 |grep -v _FORTIFY_SOURCE | xargs -n1 echo "--cxxopt")
LDFLAGS="${LDFLAGS} -fuse-ld=mold"
diff --git a/PKGBUILD.normal b/PKGBUILD.normal
index 5e3f2b4d1ea3..1c6e6e9e7031 100644
--- a/PKGBUILD.normal
+++ b/PKGBUILD.normal
@@ -88,6 +88,7 @@ build() {
CFLAGS="${CFLAGS} -fvisibility=hidden"
CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
+ export USE_BAZEL_VERSION=7.4.1
BAZEL_COPTS=$(echo ${CPPFLAGS} ${CFLAGS} | xargs -n1 |grep -v _FORTIFY_SOURCE | xargs -n1 echo "--copt")
BAZEL_CXXOPTS=$(echo ${CPPFLAGS} ${CXXFLAGS} | xargs -n1 |grep -v _FORTIFY_SOURCE | xargs -n1 echo "--cxxopt")
LDFLAGS="${LDFLAGS} -fuse-ld=mold"