Samuli Piippo
2018-11-15 09:21:25 UTC
GCCPIE defaults to "--enable-default-pie" in security_flags.inc,
which breaks Windows binaries.
Signed-off-by: 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 = ""
which breaks Windows binaries.
Signed-off-by: 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
--
2.17.1
--