summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3ecd8f21413a..28c16901c70c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Marko Semet <marko10_000@mailbox.org>
pkgname=buildbox-casd
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Local cache and proxy for remote CAS servers"
arch=(x86_64)
url="https://buildgrid.build"
@@ -15,7 +15,7 @@ sha256sums=('SKIP')
build() {
mkdir -p build
cd build
- cmake ../buildbox-casd \
+ CXXFLAGS="-flto=auto -O2 -ffunction-sections -Wl,--gc-sections" cmake ../buildbox-casd \
-G Ninja \
-DCMAKE_CXX_FLAGS=-Wno-error=restrict \
-DCMAKE_BUILD_TYPE=Release \