diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2022-12-28 12:11:36 +0000 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-01-11 19:38:56 +0000 |
commit | 40a6e8b15f9e67b6b1c33fd8c89931aa7be00297 (patch) | |
tree | e2720ac35bb4f3d9a6d2de18019c9c37b90a7444 | |
parent | 29fedc049074827cc62a85bbe9d57952c489178a (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.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/populate_sdk_qt6_base.bbclass b/classes/populate_sdk_qt6_base.bbclass index 676f3d1..b279490 100644 --- a/classes/populate_sdk_qt6_base.bbclass +++ b/classes/populate_sdk_qt6_base.bbclass @@ -141,4 +141,4 @@ EOF # default debug prefix map isn't valid in the SDK DEBUG_PREFIX_MAP = "" -SECURITY_CFLAGS = "" +lcl_maybe_fortify = "" |