distcc-avahi: -Wno-error to survive gcc 15+
build and publish packages / distcc-avahi-aarch64 (push) Failing after 23s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-14 19:40:24 +00:00
parent b3619d4c40
commit ff8254ba2e
+4
View File
@@ -42,6 +42,10 @@ prepare() {
build() {
cd "${_pkgname}-${pkgver}"
# distcc 3.4 has a const-qualifier discard that gcc 15+ flags as error
# under its own -Werror. Downgrade to a warning.
export CFLAGS="${CFLAGS} -Wno-error"
export CXXFLAGS="${CXXFLAGS} -Wno-error"
./configure \
--prefix=/usr \
--sysconfdir=/etc \