diff --git a/debian/patches/005-add-fortify-build-flags.patch b/debian/patches/005-add-fortify-build-flags.patch deleted file mode 100644 index a98712d..0000000 --- a/debian/patches/005-add-fortify-build-flags.patch +++ /dev/null @@ -1,17 +0,0 @@ -Description: Add FORTIFY_SOURCE flag directly in Makefile - The flag, otherwise, doesn't seem to propogate correctly to all - modules built by the project. -Author: Alan M Varghese -Last-Update: 2024-03-01 -Forwarded: not-needed ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -88,7 +88,7 @@ - "protocols/") - set(CMAKE_CXX_STANDARD 23) - add_compile_definitions(WLR_USE_UNSTABLE) --add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith) -+add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -D_FORTIFY_SOURCE=2) - add_link_options(-rdynamic) - set(CMAKE_ENABLE_EXPORTS TRUE) -