summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authornfnty2017-07-17 16:27:58 +0200
committernfnty2017-07-17 16:27:58 +0200
commit8465f8262e0e5c3e1e5cdb7baafdb099afaff52e (patch)
tree68e29ae5f4bed3491d4e8701ce4586e1046e772c /PKGBUILD
parenta963458bcded825b1b27ce7711051774e567bcb4 (diff)
downloadaur-8465f8262e0e5c3e1e5cdb7baafdb099afaff52e.tar.gz
Specify `CFLAGS` and `CXXFLAGS` for `qmake`
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ad82d691913..a68ca60ad75 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=('shotcut-git')
_srcname='shotcut'
pkgdesc='Video editor'
-pkgver='r2117'
+pkgver='r2235'
pkgrel='1'
arch=('i686' 'x86_64')
url='https://github.com/mltframework/shotcut'
@@ -59,7 +59,9 @@ prepare() {
build() {
cd "${srcdir}/${_srcname}"
- qmake PREFIX='/usr/'
+ qmake PREFIX='/usr' \
+ QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
+ QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}"
make
}