aports/community/imhex/no-werror.patch
Celeste 28992fb800 community/imhex: move from testing
also, add llvm-gtest to makedepends to provide
libLLVMTestingAnnotations.a needed by LLVMExports.cmake
2023-11-07 11:57:49 +00:00

23 lines
960 B
Diff

--- a/cmake/build_helpers.cmake
+++ b/cmake/build_helpers.cmake
@@ -435,7 +435,7 @@
macro(setupCompilerFlags target)
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
if (IMHEX_STRICT_WARNINGS)
- set(IMHEX_COMMON_FLAGS "-Wall -Wextra -Wpedantic -Werror")
+ set(IMHEX_COMMON_FLAGS "-Wall -Wextra -Wpedantic")
endif()
set(IMHEX_C_FLAGS "${IMHEX_COMMON_FLAGS} -Wno-array-bounds")
--- a/lib/external/pattern_language/lib/CMakeLists.txt
+++ b/lib/external/pattern_language/lib/CMakeLists.txt
@@ -71,7 +71,7 @@
)
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
- target_compile_options(libpl PRIVATE -Wall -Wextra -Werror -Wpedantic -Wno-unknown-pragmas -Wno-array-bounds)
+ target_compile_options(libpl PRIVATE -Wall -Wextra -Wpedantic -Wno-unknown-pragmas -Wno-array-bounds)
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
target_compile_options(libpl PRIVATE -Wno-stringop-overflow)
endif()