From e31b1b9c450918486da35eb598f5edd5bd993bd0 Mon Sep 17 00:00:00 2001 From: Jeremy Drake Date: Thu, 26 Dec 2024 16:01:35 -0800 Subject: [PATCH] ccache: unset CI env variable before running cmake ccache's cmake files will turn on a "dev mode" if CI is set in the environment, turning on -Werror among other things. This was causing the build on i686 to fail due to a warning with fmt 11. We don't really want ccache's dev mode, so unset it explicitly. --- ccache/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ccache/PKGBUILD b/ccache/PKGBUILD index fb3150a8544..7792b3b6a9a 100644 --- a/ccache/PKGBUILD +++ b/ccache/PKGBUILD @@ -3,7 +3,7 @@ pkgname=ccache pkgver=4.10.2 -pkgrel=3 +pkgrel=4 pkgdesc="A compiler cache (mingw-w64)" arch=('i686' 'x86_64') url="https://ccache.samba.org/" @@ -33,6 +33,7 @@ build() { [[ -d build-${CHOST} ]] && rm -rf build-${CHOST} mkdir -p build-${CHOST} && cd build-${CHOST} + unset CI /usr/bin/cmake \ -GNinja \ -DCMAKE_INSTALL_PREFIX=/usr \