forked from marfrit/marfrit-packages
distcc-avahi: -Wno-error to survive gcc 15+
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user