Files
rpm/cmake_fhardened.diff

12 lines
304 B
Diff

--- CMakeLists.txt.orig 2025-03-26 13:46:52.439473029 +0000
+++ CMakeLists.txt 2025-03-26 13:47:07.991447862 +0000
@@ -436,7 +436,7 @@ foreach (flag -fno-strict-overflow -fno-
if (found)
add_compile_options(${flag})
endif()
- unset(found)
+ unset(found CACHE)
endforeach()
# generated sources