git » qt5-tools.git » commit 1fd8fe2

Add debug

author Antonio Rojas
2022-01-29 22:43:47 UTC
committer Antonio Rojas
2022-01-29 22:43:47 UTC
parent f4a3caccab792161ac8dba116115acd0b7c43172

Add debug

PKGBUILD +3 -2

diff --git a/PKGBUILD b/PKGBUILD
index f2bdcc1..f090ee8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=qt5-tools
 pkgver=5.15.2+kde+r17
-pkgrel=4
+pkgrel=5
 _commit=33693a928986006d79c1ee743733cde5966ac402
 arch=('x86_64')
 url='https://www.qt.io'
@@ -22,6 +22,7 @@ sha256sums=('SKIP'
             '92f3e5dc8bc416e02893c38a05287238853e0c20732df1e62d6a672744a34e7c'
             '15781519115e36d2c67c12ee6bc636425cd445072f43cb8bdd1364cfacbe4c45'
             '6bc07903971983efb9492700efb2c03e24fbb1ce61b520b6e7d0a04662400701')
+options=(debug)
 
 pkgver() {
   cd $_pkgfqn
@@ -38,7 +39,7 @@ prepare() {
 build() {
   cd build
 
-  qmake ../${_pkgfqn}
+  qmake ../${_pkgfqn} CONFIG+=fat-static-lto
   make
 }