Commit 2410c428 authored by Florent Revest's avatar Florent Revest

buteo-mtp, libqtsparql: fixes -isystem directories order for GCC 6 to find stdlib.h

parent 5151b07c
...@@ -12,6 +12,8 @@ PV = "+git${SRCREV}" ...@@ -12,6 +12,8 @@ PV = "+git${SRCREV}"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
inherit qmake5 inherit qmake5
EXTRA_QMAKEVARS_PRE += "QMAKE_CFLAGS_ISYSTEM="
do_configure_prepend() { do_configure_prepend() {
sed -i "s@contextkit-statefs@contextkit-statefs contextsubscriber-1.0@" ${S}/mts/common.pri sed -i "s@contextkit-statefs@contextkit-statefs contextsubscriber-1.0@" ${S}/mts/common.pri
sed -i "s@buteosyncfw5@buteosyncfw5 contextsubscriber-1.0@" ${S}/service/service.pro sed -i "s@buteosyncfw5@buteosyncfw5 contextsubscriber-1.0@" ${S}/service/service.pro
......
...@@ -10,12 +10,15 @@ PV = "+git${SRCREV}" ...@@ -10,12 +10,15 @@ PV = "+git${SRCREV}"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
inherit qmake5 inherit qmake5
EXTRA_QMAKEVARS_PRE += "QMAKE_CFLAGS_ISYSTEM="
DEPENDS += "qtbase qtdeclarative" DEPENDS += "qtbase qtdeclarative"
do_configure_prepend() { do_configure_prepend() {
./configure -prefix /usr/ ./configure -prefix /usr/
sed -i "s@src tests examples@src@" projects.pro sed -i "s@src tests examples@src@" projects.pro
sed -i "/doc.pri/d" projects.pro sed -i "/doc.pri/d" projects.pro
export QT_SELECT=5
} }
do_install_append() { do_install_append() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment