From 26eb9f943e5ca5ccb10c395bae63cf0200d92bbc Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sun, 30 Aug 2020 15:30:22 -0700 Subject: Rebuild due to qt5.15 --- PKGBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 885e3a7..575e203 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,15 +6,14 @@ # # I maintain this because: # Artix version uses emoticons -# Artix version uses incorrect repo # Artix version uses incorrect gpg fingerprints pkgname=qtox _pkgname=qTox pkgver=1.17.2 -pkgrel=1.2 +pkgrel=2.2 _gitver='8eed684c37bd711de2ca4bd863f5f0509edcdc2d' -pkgdesc='Powerful Tox client written in C++/Qt that follows the Tox design guidelines' +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') @@ -55,9 +54,9 @@ prepare() { build() { mkdir -p build cd build - export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4 -fPIE" - export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4 -fPIE" - export LDFLAGS="$LDFLAGS,-pie" + # gcc 10.2 + qt 5.15 + pie = segfault + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4" cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ -DGIT_VERSION=$_gitver \ -DGIT_DESCRIBE=v$pkgver \ -- cgit v1.2.1