From bd7cd3bc6fb7e7628229937cc867699e55eafe27 Mon Sep 17 00:00:00 2001 From: Johannes Kauffmann Date: Tue, 9 May 2023 12:06:35 +0200 Subject: open62541: disable warnings as errors When using OpenSSL as the encryption provider, the package does not build without deprecation warnings, thus breaking the build. Disable warnings as errors to unbreak the build. Signed-off-by: Johannes Kauffmann Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/opcua/open62541_1.3.3.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-networking') diff --git a/meta-networking/recipes-protocols/opcua/open62541_1.3.3.bb b/meta-networking/recipes-protocols/opcua/open62541_1.3.3.bb index abe38003d6..883bb2e2ca 100644 --- a/meta-networking/recipes-protocols/opcua/open62541_1.3.3.bb +++ b/meta-networking/recipes-protocols/opcua/open62541_1.3.3.bb @@ -36,6 +36,7 @@ PACKAGECONFIG[amalgamation] = "-DUA_ENABLE_AMALGAMATION=ON, -DUA_ENABLE_AMALGAMA PACKAGECONFIG[encryption] = "-DUA_ENABLE_ENCRYPTION=MBEDTLS, , mbedtls" PACKAGECONFIG[pubsub] = "-DUA_ENABLE_PUBSUB=ON, -DUA_ENABLE_PUBSUB=OFF" PACKAGECONFIG[pubsub-eth] = "-DUA_ENABLE_PUBSUB_ETH_UADP=ON, -DUA_ENABLE_PUBSUB_ETH_UADP=OFF" +PACKAGECONFIG[werror] = "-DUA_FORCE_WERROR=ON, -DUA_FORCE_WERROR=OFF" do_configure:prepend:toolchain-clang:riscv64() { sed -i -e 's/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF)/' ${S}/CMakeLists.txt -- cgit v1.2.3-54-g00ecf