diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-06-06 17:01:47 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2022-06-06 17:01:47 -0700 |
commit | e7fae306ff37e9fe8356834affb9a6e140c194e4 (patch) | |
tree | 2d02bc893626ff3020db248c6af1bb34d8cce99e | |
parent | Rebuild with pthread patches. (diff) | |
download | syncterm-master.tar.xz |
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,6 +5,7 @@ # # I maintain this because: # AUR version lacks additional optimization and hardening flags +# AUR version lacks options=(!makeflags) to prevent build failures with high thread counts pkgname=syncterm pkgver=1.1 @@ -17,6 +18,7 @@ makedepends=('unzip') optdepends=('hicolor-icon-theme: for GUI icon support' 'sdl2: for SDL GUI support' 'libx11: for X11 GUI support') +options=(!makeflags) arch=('i686' 'x86_64') source=("https://downloads.sourceforge.net/project/syncterm/syncterm/$pkgname-$pkgver/$pkgname-$pkgver-src.tgz" "cl-linux-yield.patch" @@ -40,6 +42,7 @@ prepare() { build() { cd "$srcdir/$pkgname-${pkgver}/src/syncterm" + export MAKEFLAGS="-j1" export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto -fPIE" export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto -fPIE" export LDFLAGS="$LDFLAGS,-pie" |