From 318784a90a918b576c669ea2fa55df54f912dccf Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Wed, 28 Dec 2022 12:11:36 +0000 Subject: [PATCH] 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 (cherry picked from commit a94203259191bc6cc8bceb257ab7b7451c5eb491) Reviewed-by: Qt Cherry-pick Bot --- classes/populate_sdk_qt6_base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ""