xref: /aoo42x/main/openssl/opensslunx.patch (revision e350def3)
1*e350def3SDamjan Jovanovic--- misc/build/openssl-3.0.13/Configurations/00-base-templates.conf	2024-04-14 20:51:59.953276000 +0200
2*e350def3SDamjan Jovanovic+++ misc/build/openssl-3.0.13/Configurations/00-base-templates.conf	2024-04-15 04:41:41.558374000 +0200
3*e350def3SDamjan Jovanovic@@ -67,9 +67,13 @@
497977252SDamjan Jovanovic
597977252SDamjan Jovanovic         AR              => "ar",
697977252SDamjan Jovanovic         ARFLAGS         => "qc",
7*e350def3SDamjan Jovanovic+        ASFLAGS         => "-Wa,--noexecstack",
897977252SDamjan Jovanovic         CC              => "cc",
997977252SDamjan Jovanovic         lflags          =>
10*e350def3SDamjan Jovanovic-            sub { $withargs{zlib_lib} ? "-L".$withargs{zlib_lib} : () },
11*e350def3SDamjan Jovanovic+            sub {
12*e350def3SDamjan Jovanovic+                my $s = '-Wl,-z,origin -Wl,-rpath,\$$ORIGIN';
13*e350def3SDamjan Jovanovic+                return $withargs{zlib_lib} ? $s." -L".$withargs{zlib_lib} : $s;
14*e350def3SDamjan Jovanovic+            },
15*e350def3SDamjan Jovanovic         ex_libs         =>
16*e350def3SDamjan Jovanovic             sub { !defined($disabled{zlib})
17*e350def3SDamjan Jovanovic                   && defined($disabled{"zlib-dynamic"})
18