summaryrefslogtreecommitdiff
path: root/dev-libs/s2n-tls/files/s2n-tls-1.6.0-cmake_LDFLAGS.patch
blob: 1351e425a54685b788cd5b1f43b4d43b7871fa36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- s2n-tls-1.6.0.o/CMakeLists.txt	2025-11-09 18:51:50.702558827 +0200
+++ s2n-tls-1.6.0/CMakeLists.txt	2025-11-09 19:58:52.216551406 +0200
@@ -176,10 +176,6 @@
     endif()
 endif()
 
-if(NOT APPLE)
-    set(CMAKE_SHARED_LINKER_FLAGS -Wl,-z,noexecstack,-z,relro,-z,now)
-endif()
-
 # Whether to fail the build when compiling s2n's portable C code with non-portable assembly optimizations. Doing this
 # can lead to runtime crashes if build artifacts are built on modern hardware, but deployed to older hardware without
 # newer CPU instructions. s2n, by default, should be backwards compatible with older CPU types so this flag should be