summaryrefslogtreecommitdiff
path: root/media-libs/libvpl/files/libvpl-2.13.0_do-not-fortify-source.patch
blob: 94fd05d1a7e817f99e3044f1671e1e14c1f1e92a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Filip Kobierski <fkobi@pm.me>

---
 cmake/CompileOptions.cmake | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/cmake/CompileOptions.cmake b/cmake/CompileOptions.cmake
index 02926c4..bba557d 100644
--- a/cmake/CompileOptions.cmake
+++ b/cmake/CompileOptions.cmake
@@ -51,9 +51,6 @@ else()
   add_compile_options("-Werror=format-security")
   if(NOT MINGW)
     string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
-    if(NOT CMAKE_BUILD_TYPE MATCHES debug)
-      add_definitions("-D_FORTIFY_SOURCE=2")
-    endif()
   endif()
   if(NOT MINGW)
     add_compile_options("-fstack-protector-strong")
-- 
2.45.2