[meta-mingw][PATCH] Remove security flags from GCCPIE


Samuli Piippo
 

GCCPIE defaults to "--enable-default-pie" in security_flags.inc,
which breaks Windows binaries.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
---
conf/machine-sdk/include/mingw32-common.inc | 3 +++
1 file changed, 3 insertions(+)

diff --git a/conf/machine-sdk/include/mingw32-common.inc b/conf/machine-sdk/include/mingw32-common.inc
index 92bd184..cd56380 100644
--- a/conf/machine-sdk/include/mingw32-common.inc
+++ b/conf/machine-sdk/include/mingw32-common.inc
@@ -38,3 +38,6 @@ BB_HASHBASE_WHITELIST_append = " WINDRES RC"

# Needed to override no-static-libs.inc
DISABLE_STATIC_mingw32 = ""
+
+# disable security flags
+GCCPIE_mingw32 = ""
--
2.17.1

Join yocto@lists.yoctoproject.org to automatically receive all group messages.