diff options
author | Johannes Kauffmann <johanneskauffmann@hotmail.com> | 2023-05-09 12:06:35 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-05-09 17:27:51 -0700 |
commit | bd7cd3bc6fb7e7628229937cc867699e55eafe27 (patch) | |
tree | 75b255d2b2fd64a92ea0bc327e8ce637f033b255 /meta-networking | |
parent | beb018a3ac5e5ebd4737c8218eeac4762dd53ce5 (diff) | |
download | meta-openembedded-bd7cd3bc6fb7e7628229937cc867699e55eafe27.tar.gz |
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 <johanneskauffmann@hotmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-protocols/opcua/open62541_1.3.3.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |