diff options
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -13,12 +13,13 @@ _offline=0 pkgname=qtox _pkgname=qTox pkgver=1.17.4 -pkgrel=2.4 +pkgrel=2.5 _gitver='8eed684c37bd711de2ca4bd863f5f0509edcdc2d' pkgdesc='a chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol' arch=('x86_64' 'aarch64') url='https://github.com/qTox/qTox' license=('GPL3') +options=(lto) depends=('desktop-file-utils' 'libxss' 'openal' @@ -63,8 +64,8 @@ build() { cd build # gcc 10.2 + qt 5.15 + pie = segfault - export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto" - export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto" + export CFLAGS="$CFLAGS -O3 -fstack-protector-all" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all" cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ -DDESKTOP_NOTIFICATIONS=ON \ -DGIT_VERSION=$_gitver \ |