diff options
Diffstat (limited to 'dev-cpp/cpptrace/files/cpptrace-fix-tests.patch')
| -rw-r--r-- | dev-cpp/cpptrace/files/cpptrace-fix-tests.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-cpp/cpptrace/files/cpptrace-fix-tests.patch b/dev-cpp/cpptrace/files/cpptrace-fix-tests.patch new file mode 100644 index 000000000000..e9dd0c8cd03a --- /dev/null +++ b/dev-cpp/cpptrace/files/cpptrace-fix-tests.patch @@ -0,0 +1,12 @@ +diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt +index 1fc6c66..ec60849 100644 +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -60,6 +60,6 @@ if(NOT CPPTRACE_SKIP_UNIT) + ) + target_compile_features(unittest PRIVATE cxx_std_20) + target_link_libraries(unittest PRIVATE ${target_name} GTest::gtest_main GTest::gmock_main) +- target_compile_options(unittest PRIVATE ${warning_options} $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-pedantic -Wno-attributes>) ++ target_compile_options(unittest PRIVATE ${warning_options} $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-pedantic -Wno-attributes -ggdb>) + add_test(NAME unittest COMMAND unittest) + endif() |
