summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2019-06-12 14:21:44 +0100
committerEric Engestrom2019-06-12 15:36:37 +0100
commitc3b5618a503b57afdd98139e87773e65deaf1aa4 (patch)
treeb8e9e0269a4bb917e0a0910306d84aa0bf047c83
parent8e6d2ef14bab0a62790fc360e99a48b281003a54 (diff)
downloadaur-c3b5618a503b57afdd98139e87773e65deaf1aa4.tar.gz
make qmake respect makepkg flags
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 51fe7983c92..96b840800d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,7 +25,11 @@ prepare() {
mkdir build
cd build
export PREFIX="$pkgdir"
- qmake ../VulkanCapsViewer-$pkgver/vulkanCapsViewer.pro
+ qmake \
+ QMAKE_CFLAGS="$CFLAGS" \
+ QMAKE_CXXFLAGS="$CXXFLAGS" \
+ QMAKE_LFLAGS="$LDFLAGS" \
+ ../VulkanCapsViewer-$pkgver
}
build() {