mingw-w64-runtime: Fix hardened build with gcc8
PATCH v2 1/2 mingw-w64-runtime: Fix hardened build with gcc8
Signed-off-by Khem Raj <[email protected]>
--- recipes-devtools/mingw-w64/mingw-w64-runtime_5.0.3.bb | 2 ++ 1 file changed, 2 insertions(+)
recipes-devtools/mingw-w64/mingw-w64-runtime_5.0.3.bb +2 -0
@@ -42,3 +42,5 @@ do_configure() { FILES_${PN} += "${exec_prefix}/libsrc" BBCLASSEXTEND = "nativesdk" + +SECURITY_CFLAGS_remove_mingw32 = "-fstack-protector-strong"
Signature · 1 line
2.17.1
PATCH 2/2 pthreads-win32: Disable ssp for pthreads-win32
It compiles before gcc-runtime so ssp is not
yet available
Signed-off-by Khem Raj <[email protected]>
--- recipes-devtools/pthreads-win32/pthreads-win32_2.9.1.bb | 2 ++ 1 file changed, 2 insertions(+)
recipes-devtools/pthreads-win32/pthreads-win32_2.9.1.bb +2 -0
@@ -49,3 +49,5 @@ do_install() { install -m 0644 ${S}/pthreadGC2.dll ${D}${bindir}/libpthread-2.dll install -m 0644 ${S}/pthreadGC2.dll ${D}${bindir}/pthreadGC2.dll } + +SECURITY_CFLAGS_remove_mingw32 = "-fstack-protector-strong"
Signature · 1 line
2.17.1