diff options
author | Masato TOYOSHIMA | 2024-12-10 10:19:51 +0900 |
---|---|---|
committer | Masato TOYOSHIMA | 2024-12-10 10:19:51 +0900 |
commit | fc469ca923bd3ef69ce5388f4dac87394730e03f (patch) | |
tree | cd358f6dfb19e241437c1db54ec2b42d57bbe5d9 | |
parent | 70ba4f69e7cd85092df9c87db3aa00f19d29ed61 (diff) | |
download | aur-fc469ca923bd3ef69ce5388f4dac87394730e03f.tar.gz |
Specifying the bazel version in bazelisk
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | PKGBUILD.fcitx | 1 | ||||
-rw-r--r-- | PKGBUILD.fcitx.normal | 1 | ||||
-rw-r--r-- | PKGBUILD.normal | 1 |
4 files changed, 4 insertions, 0 deletions
@@ -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" |