dev-libs/open62541: Disable Werror

Disable Werror by using corresponding cmake option.

Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
Kurt Kanzenbach
2022-06-24 20:41:16 +02:00
parent fe7e694fc9
commit fe7f4ce0f8

View File

@@ -54,13 +54,6 @@ PATCHES=(
"${FILESDIR}/${P}-tests.patch"
)
src_prepare() {
# bug 780912
sed -i -e 's/check_add_cc_flag("-Werror")//g' CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=ON
@@ -70,6 +63,7 @@ src_configure() {
-DUA_BUILD_UNIT_TESTS=$(usex test)
-DUA_ENABLE_PUBSUB=$(usex pubsub)
-DUA_ENABLE_PUBSUB_ETH_UADP=$(usex pubsub)
-DUA_FORCE_WERROR=OFF
)
if use encryption; then