diff --git a/PKGBUILD b/PKGBUILD index fffff96..12c4535 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer : Christian Rebischke pkgname=traefik -pkgver=2.5.5 +pkgver=2.5.6 pkgrel=1 pkgdesc="Modern reverse proxy written in Go" arch=('x86_64') @@ -16,7 +16,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/traefik/rele 'traefik.service' 'traefik.sysusers') noextract=("${pkgname}-${pkgver}.tar.gz") -sha512sums=('02bc0399b781d88f49763cc3978919ec495459446c6252f872aa9cf8648118530c69b1063b46259a72715aa17149501310c2b6956cb9abeeb631e46b078e46f4' +sha512sums=('cf31fd1f55740d83e5dd9ba431cd347d3a4f4e06962a1ea0685038ea601855cfa3b3f07c97ca3a854fecf206a6e19fea04ed37bc92c1c3e51920a8cc26daf002' '25ab1113bb69936c443fe49d5d3da7d39171fc82e8fa06f46ed4e2dfcaa89685d50ca50b58c32215852d79e5c8d4736a287c15b75420c78a853c51502cb2641a' '5fecfed5df77bf28c2c976ebaebedb030904d41509e740821140a4889bda20327f416e78f8d19b0ee78c8bc422d1907ce05ef3562e4d3e36ddfbdbea5e860b2a') @@ -27,8 +27,8 @@ prepare() { build() { export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_CFLAGS="${CFLAGS//lto/no-lto}" + export CGO_CXXFLAGS="${CXXFLAGS//lto/no-lto}" export CGO_LDFLAGS="${LDFLAGS}" export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" cd "${srcdir}/${pkgname}-${pkgver}"