Use the latest mingw64 release to get access to the latest Windows APIs BUILDSDK_CPPFLAGS were emptied from poky.conf, but are needed for mingw build to include correct float.h. (error: '_MCW_DN' undeclared here)
Disable shared library for nativesdk-gettext as it fails with 'undefined reference to `xmlFree'' Signed-off-by: Samuli Piippo <samuli.pii...@qt.io> --- recipes-core/gettext/gettext_0.19.%.bbappend | 2 +- ...gw-w64-headers_3.1.0.bb => nativesdk-mingw-w64-headers_5.0.3.bb} | 4 ++-- ...gw-w64-runtime_3.1.0.bb => nativesdk-mingw-w64-runtime_5.0.3.bb} | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-headers_3.1.0.bb => nativesdk-mingw-w64-headers_5.0.3.bb} (83%) rename recipes-devtools/mingw-w64/{nativesdk-mingw-w64-runtime_3.1.0.bb => nativesdk-mingw-w64-runtime_5.0.3.bb} (84%) diff --git a/recipes-core/gettext/gettext_0.19.%.bbappend b/recipes-core/gettext/gettext_0.19.%.bbappend index b33970a..95ea030 100644 --- a/recipes-core/gettext/gettext_0.19.%.bbappend +++ b/recipes-core/gettext/gettext_0.19.%.bbappend @@ -2,7 +2,7 @@ DEPENDS_append_mingw32 = " pthreads-win32" LDFLAGS_prepend_mingw32 = " -lpthread " CFLAGS_append_mingw32 = " -DLIBXML_STATIC" -EXTRA_OECONF_append_mingw32 = " --enable-threads=windows --enable-static" +EXTRA_OECONF_append_mingw32 = " --enable-threads=windows --enable-static --disable-shared" FILESEXTRAPATHS_prepend_mingw32 := "${THISDIR}/${BPN}:" SRC_URI_append_mingw32 = " \ diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_3.1.0.bb b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_5.0.3.bb similarity index 83% rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_3.1.0.bb rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_5.0.3.bb index 5cd4e34..3948392 100644 --- a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_3.1.0.bb +++ b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers_5.0.3.bb @@ -7,8 +7,8 @@ COMPATIBLE_HOST = ".*-mingw.*" SRC_URI = "${SOURCEFORGE_MIRROR}/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2 \ file://epsilon.patch" -SRC_URI[md5sum] = "df0e7657f46cbd59ed9cbe2a50c66e15" -SRC_URI[sha256sum] = "ece7a7e7e1ab5e25d5ce469f8e4de7223696146fffa71c16e2a9b017d0e017d2" +SRC_URI[md5sum] = "5524c20312560cc8683b7d8ee292cb8c" +SRC_URI[sha256sum] = "2a601db99ef579b9be69c775218ad956a24a09d7dabc9ff6c5bd60da9ccc9cb4" S = "${WORKDIR}/mingw-w64-v${PV}/mingw-w64-headers" B = "${WORKDIR}/build-${TARGET_SYS}" diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_3.1.0.bb b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_5.0.3.bb similarity index 84% rename from recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_3.1.0.bb rename to recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_5.0.3.bb index c4292ad..29df124 100644 --- a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_3.1.0.bb +++ b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-runtime_5.0.3.bb @@ -5,14 +5,16 @@ LIC_FILES_CHKSUM = "file://../COPYING;md5=bb936f0e04d8f1e19ad545100cee9654" COMPATIBLE_HOST = ".*-mingw.*" SRC_URI = "${SOURCEFORGE_MIRROR}/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v${PV}.tar.bz2" -SRC_URI[md5sum] = "df0e7657f46cbd59ed9cbe2a50c66e15" -SRC_URI[sha256sum] = "ece7a7e7e1ab5e25d5ce469f8e4de7223696146fffa71c16e2a9b017d0e017d2" +SRC_URI[md5sum] = "5524c20312560cc8683b7d8ee292cb8c" +SRC_URI[sha256sum] = "2a601db99ef579b9be69c775218ad956a24a09d7dabc9ff6c5bd60da9ccc9cb4" S = "${WORKDIR}/mingw-w64-v${PV}/mingw-w64-crt" B = "${WORKDIR}/build-${TARGET_SYS}" inherit autotools nativesdk +BUILDSDK_CPPFLAGS = "-isystem${STAGING_INCDIR}" + INHIBIT_DEFAULT_DEPS = "1" DEPENDS = "nativesdk-mingw-w64-headers virtual/${TARGET_PREFIX}gcc-initial " -- 2.7.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto