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.

Pick-to: 6.5 6.4 6.2
Change-Id: Ia01f92f21c4f68b1be0d57f9a586a34acbe2333c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
Samuli Piippo 2022-12-28 12:11:36 +00:00
parent 0533b8907e
commit a942032591

View File

@ -141,4 +141,4 @@ EOF
# default debug prefix map isn't valid in the SDK
DEBUG_PREFIX_MAP = ""
SECURITY_CFLAGS = ""
lcl_maybe_fortify = ""