mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
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:
@@ -54,13 +54,6 @@ PATCHES=(
|
|||||||
"${FILESDIR}/${P}-tests.patch"
|
"${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() {
|
src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
-DBUILD_SHARED_LIBS=ON
|
-DBUILD_SHARED_LIBS=ON
|
||||||
@@ -70,6 +63,7 @@ src_configure() {
|
|||||||
-DUA_BUILD_UNIT_TESTS=$(usex test)
|
-DUA_BUILD_UNIT_TESTS=$(usex test)
|
||||||
-DUA_ENABLE_PUBSUB=$(usex pubsub)
|
-DUA_ENABLE_PUBSUB=$(usex pubsub)
|
||||||
-DUA_ENABLE_PUBSUB_ETH_UADP=$(usex pubsub)
|
-DUA_ENABLE_PUBSUB_ETH_UADP=$(usex pubsub)
|
||||||
|
-DUA_FORCE_WERROR=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
if use encryption; then
|
if use encryption; then
|
||||||
|
|||||||
Reference in New Issue
Block a user