[yocto] [meta-mingw][PATCH 2/2] pthreads-win32: Disable ssp for pthreads-win32

Khem Raj raj.khem at gmail.com
Thu Jun 7 07:16:27 PDT 2018


It compiles before gcc-runtime so ssp is not
yet available

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 recipes-devtools/pthreads-win32/pthreads-win32_2.9.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-devtools/pthreads-win32/pthreads-win32_2.9.1.bb b/recipes-devtools/pthreads-win32/pthreads-win32_2.9.1.bb
index b462431..d9cd94e 100644
--- a/recipes-devtools/pthreads-win32/pthreads-win32_2.9.1.bb
+++ b/recipes-devtools/pthreads-win32/pthreads-win32_2.9.1.bb
@@ -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"
-- 
2.17.1



More information about the yocto mailing list