* update distcc to 3.4-7
This commit is contained in:
parent
735ff721b0
commit
0fc7f019f3
@ -7,13 +7,13 @@
|
||||
|
||||
pkgname=distcc
|
||||
pkgver=3.4
|
||||
pkgrel=6
|
||||
_gccver=12.2.0 # Current GCC version, used for symlinks. See FS#69044
|
||||
pkgrel=7
|
||||
_gccver=13.1.1 # Current GCC version, used for symlinks. See FS#69044
|
||||
pkgdesc='Distributed compilation service for C, C++ and Objective-C'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://github.com/distcc/distcc'
|
||||
license=(GPL)
|
||||
depends=(avahi popt python)
|
||||
depends=(avahi popt python 'gcc=13.1.1')
|
||||
makedepends=(git gtk3)
|
||||
optdepends=("gcc=$_gccver"
|
||||
'gtk3: for distccmon')
|
||||
@ -41,6 +41,9 @@ build() {
|
||||
# ref: https://github.com/distcc/distcc/issues/454#issuecomment-1087865811
|
||||
export CFLAGS+=' -DPY_SSIZE_T_CLEAN -fcommon'
|
||||
|
||||
# ref: https://bugs.archlinux.org/task/78400
|
||||
export NATIVE_COMPILER_TRIPLE=x86_64-pc-linux-gnu-gcc
|
||||
|
||||
./configure \
|
||||
--enable-rfc2553 \
|
||||
--mandir=/usr/share/man \
|
||||
@ -48,6 +51,7 @@ build() {
|
||||
--sbindir=/usr/bin \
|
||||
--sysconfdir=/etc \
|
||||
--with-gtk
|
||||
|
||||
make WERROR_CFLAGS= INCLUDESERVER_PYTHON=/usr/bin/python
|
||||
}
|
||||
|
||||
@ -62,8 +66,8 @@ package() {
|
||||
"$pkgdir/usr/lib/systemd/system/distccd.service"
|
||||
|
||||
# Package symlinks
|
||||
_targets=(c++ c89 c99 cc clang clang++ cpp g++ gcc ${CHOST}-g++
|
||||
${CHOST}-gcc ${CHOST}-gcc-$_gccver)
|
||||
_targets=(c++ c89 c99 cc clang clang++ cpp g++ gcc $CHOST-g++
|
||||
$CHOST-gcc $CHOST-gcc-$_gccver)
|
||||
install -d "$pkgdir/usr/lib/$pkgname/bin"
|
||||
for bin in "${_targets[@]}"; do
|
||||
# For whitelist since version 3.3, see FS#57978
|
||||
|
Loading…
x
Reference in New Issue
Block a user