aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2022-12-28 12:11:36 +0000
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-01-12 13:49:09 +0000
commit318784a90a918b576c669ea2fa55df54f912dccf (patch)
treed91b62330d3a423ad7fa25a8b9f45654ecfcf918
parent8ee4fe6d88c21856ebb7cf9c9bf25950fa05b0b8 (diff)
sdk: use security cflags in cmake toolchain file
Keep the SECURITY_CFLAGS set by Yocto builds also in the SKD's CMake toolchain file. Instead remove only the fortify flags, since they add unnecessary warnings when doing debug builds with Qt Creator. Change-Id: Ia01f92f21c4f68b1be0d57f9a586a34acbe2333c Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> (cherry picked from commit a94203259191bc6cc8bceb257ab7b7451c5eb491) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--classes/populate_sdk_qt6_base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/populate_sdk_qt6_base.bbclass b/classes/populate_sdk_qt6_base.bbclass
index 3b03f7f..a6a7478 100644
--- a/classes/populate_sdk_qt6_base.bbclass
+++ b/classes/populate_sdk_qt6_base.bbclass
@@ -136,4 +136,4 @@ EOF
# default debug prefix map isn't valid in the SDK
DEBUG_PREFIX_MAP = ""
-SECURITY_CFLAGS = ""
+lcl_maybe_fortify = ""