[arch-commits] Commit in librecad/trunk (PKGBUILD)
Christian Hesse
eworm at archlinux.org
Tue May 10 11:21:04 UTC 2016
Date: Tuesday, May 10, 2016 @ 13:21:04
Author: eworm
Revision: 174557
fix build with GCC 6.1.1
Modified:
librecad/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-10 10:55:49 UTC (rev 174556)
+++ PKGBUILD 2016-05-10 11:21:04 UTC (rev 174557)
@@ -24,8 +24,12 @@
# fix version string
sed -i "/^SCMREVISION/c SCMREVISION=\"${pkgver}\"" librecad/src/src.pro
- export CPPFLAGS="-std=c++0x"
qmake-qt5 librecad.pro
+
+ # fix include path... this is an issue with gcc 6.1.1 and qmake-qt5...
+ make qmake_all
+ sed -i '/INCPATH/s|-isystem /usr/include ||' librecad/src/Makefile
+
make
}
More information about the arch-commits
mailing list