summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJannis Voelker <jannis.voelker@basyskom.com>2021-01-27 13:08:17 +0100
committerJannis Voelker <jannis.voelker@basyskom.com>2021-01-27 13:28:59 +0100
commitcc4b9f588a38158191a1ad8638bb631bd7750e04 (patch)
tree64ecc4b4d774f4ccf2d5cbf2edceeee8e62cfdae /src
parent32c693e7fd3a7e4fb43ce19b33a15edfafd6572e (diff)
Fix open62541 specific flags for the arm64 build
-Wno-format is removed for open62541.c, but -Wformat-security is still present. This trips the c compiler for the arm64 platform. Change-Id: I1128d053faf7009699a2fe30d3f13dfc8ada8fe8 Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/opcua/open62541/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/opcua/open62541/CMakeLists.txt b/src/plugins/opcua/open62541/CMakeLists.txt
index 8f94da5..a7afd8a 100644
--- a/src/plugins/opcua/open62541/CMakeLists.txt
+++ b/src/plugins/opcua/open62541/CMakeLists.txt
@@ -86,7 +86,7 @@ if (QT_FEATURE_open62541 AND NOT QT_FEATURE_system_open62541)
if (NOT (WINRT OR WIN32 AND MSVC)) # special case
set_source_files_properties(../../../3rdparty/open62541/open62541.c PROPERTIES
COMPILE_OPTIONS
- "-Wno-unused-parameter;-Wno-unused-function;-Wno-format;-Wno-strict-aliasing;-Wno-unused-result;-std=c99")
+ "-Wno-unused-parameter;-Wno-unused-function;-Wno-format;-Wno-format-security;-Wno-strict-aliasing;-Wno-unused-result;-std=c99")
elseif(WIN32 AND MSVC)
# CMake uses C11+ by default and the _Static_assert expansion fails during compilation
set_source_files_properties(../../../3rdparty/open62541/open62541.c PROPERTIES LANGUAGE CXX)