[meta-mingw] Remove security flags from GCCPIE

Submitted by Samuli Piippo on Nov. 15, 2018, 9:21 a.m. | Patch ID: 156341

Details

Message ID 20181115092110.12009-1-samuli.piippo@qt.io
State New
Headers show

Commit Message

Samuli Piippo Nov. 15, 2018, 9:21 a.m.
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(+)

Patch hide | download patch | download mbox

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 = ""