summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2022-06-09 11:41:12 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2022-06-09 11:41:12 -0700
commita7585427e8858b366c8122d64219936d16685f27 (patch)
tree198fe53b2c9dfd7b110acc6d698cd85cbf1e3d98
parentInitial commit (diff)
downloadtmux-a7585427e8858b366c8122d64219936d16685f27.tar.xz
Updated to 3.3_a
Use options array for setting lto.
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4328473..75a1fdd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,22 +5,23 @@
# AUR version lacks additional optimization and hardening flags
pkgname=tmux
-pkgver=3.3
-pkgrel=2
+pkgver=3.3_a
+pkgrel=1
pkgdesc='A terminal multiplexer'
url='https://github.com/tmux/tmux/wiki'
arch=('x86_64')
license=('BSD')
depends=('ncurses' 'libevent' 'libutempter')
+options=(lto)
source=("https://github.com/tmux/tmux/releases/download/${pkgver/_/}/tmux-${pkgver/_/}.tar.gz")
-sha256sums=('b2382ac391f6a1c5b93293016cdc9488337d9a04b9d611ae05eac164740351dc')
-b2sums=('7e5b66d6d294c580d86f4f8729f867277e00f401dfa2a4b4c5dd5bd08c1e9884122340cbebfb37f56c67c65e940667f5b79b638f20f05282c434f7b3641ad003')
+sha256sums=('e4fd347843bd0772c4f48d6dde625b0b109b7a380ff15db21e97c11a4dcdf93f')
+b2sums=('e835ce0f136175521035a684419f221864edb0a9506d7d68cbc0239b1349e78949ebd96573a9d8651a2df6d99acb433075d6e0c20d7394a53fe6b44bd9e56069')
build() {
cd "$srcdir/$pkgname-${pkgver/_/}"
- export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto -fPIE"
- export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto -fPIE"
+ export CFLAGS="$CFLAGS -O3 -fstack-protector-all -fPIE"
+ export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -fPIE"
export LDFLAGS="$LDFLAGS,-pie"
./configure \