diff options
author | nfnty | 2017-07-17 16:26:32 +0200 |
---|---|---|
committer | nfnty | 2017-07-17 16:26:32 +0200 |
commit | d540855b2ac6d55e6a05c667a636850f74345865 (patch) | |
tree | 670da5350b7a67acb7eaa49098fe03537ded97ad /PKGBUILD | |
parent | 72fc31bfddc92b8c660906918a389f73a4dfd035 (diff) | |
download | aur-d540855b2ac6d55e6a05c667a636850f74345865.tar.gz |
Specify `CFLAGS` and `CXXFLAGS` for `qmake`
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -2,8 +2,8 @@ pkgname=('qt5-styleplugins-git') _srcname='qtstyleplugins' pkgdesc='Additional style plugins for Qt5' -pkgver='r28' -pkgrel='2' +pkgver='r36' +pkgrel='1' arch=('i686' 'x86_64') url="https://code.qt.io/cgit/qt/${_srcname}" license=('LGPL') @@ -28,7 +28,10 @@ pkgver() { build() { cd "${srcdir}/${_srcname}" - qmake PREFIX='/usr' LIBDIR='/usr/lib' + qmake PREFIX='/usr' \ + LIBDIR='/usr/lib' \ + QMAKE_CFLAGS_RELEASE="${CFLAGS}" \ + QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" make } |