[YOCTO #10039] Apply patches from qt4-4.8.7.inc to qt4-native as well. (Now that Fedora-24 host is gcc-6)
Signed-off-by: Tim Orling <timothy.t.orl...@linux.intel.com> --- recipes-qt4/qt4/qt4-native.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes-qt4/qt4/qt4-native.inc b/recipes-qt4/qt4/qt4-native.inc index dac267b..02fd784 100644 --- a/recipes-qt4/qt4/qt4-native.inc +++ b/recipes-qt4/qt4/qt4-native.inc @@ -16,6 +16,8 @@ SRC_URI = "http://download.qt-project.org/official_releases/qt/4.8/${PV}/qt-ever file://0002-qkbdtty_qws-fix-build-with-old-kernel-headers.patch \ file://0003-webkit2-set-OUTPUT_DIR-value-if-empty.patch \ file://0021-configure-make-qt4-native-work-with-long-building-pa.patch \ + file://0036-qt-everywhere-opensource-src-4.8.7-gcc6.patch \ + file://gcc-6.patch \ file://g++.conf \ file://linux.conf \ " @@ -25,6 +27,9 @@ UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}" +# workaround for class std::auto_ptr' is deprecated with gcc-6 +CXXFLAGS += "-std=gnu++98 -Wno-deprecated" + EXTRA_OECONF = "-prefix ${prefix} \ -bindir ${bindir} \ -libdir ${libdir} \ -- 2.7.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto