summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Flament2016-10-11 13:47:03 +0200
committerDamien Flament2016-10-11 13:47:03 +0200
commitf5a1e16f56c6d5d900dc3e587e69eb21d4077de0 (patch)
tree222586dbcdf2b6ec6a149c7d512cc06cfb3162fc
parentff606ed81646cc3ebfb04685109810218c9433d3 (diff)
downloadaur-f5a1e16f56c6d5d900dc3e587e69eb21d4077de0.tar.gz
Build using Qt5.
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d5af2d86028..d33a9f5dc42 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -50,8 +50,10 @@ prepare() {
build() {
msg "Starting make..."
cd "${srcdir}/${_gitname}"
- export CPPFLAGS="-std=c++0x"
- qmake-qt4 librecad.pro
+ qmake-qt5 -r librecad.pro \
+ QMAKE_CFLAGS="${CFLAGS}" \
+ QMAKE_CXXFLAGS="${CXXFLAGS}"
+
make
}