summaryrefslogtreecommitdiffstats
path: root/external/openssl/openssl-no-multilib.patch.0
blob: da9adf35785a619efddb68e1fd195d18afbc7614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- Configure.orig	2020-04-21 14:22:39.000000000 +0200
+++ Configure	2020-07-07 17:25:19.256297500 +0200
@@ -27,7 +27,7 @@
 my $orig_death_handler = $SIG{__DIE__};
 $SIG{__DIE__} = \&death_handler;
 
-my $usage="Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-egd] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--config=FILE] os/compiler[:flags]\n";
+my $usage="Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-egd] [no-multilib] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--config=FILE] os/compiler[:flags]\n";
 
 my $banner = <<"EOF";
 
@@ -86,6 +86,7 @@
 #               If disabled, it also disables shared and dynamic-engine.
 # no-asm        do not use assembler
 # no-egd        do not compile support for the entropy-gathering daemon APIs
+# no-multilib   exclude multilib identifier from library name
 # [no-]zlib     [don't] compile support for zlib compression.
 # zlib-dynamic  Like "zlib", but the zlib library is expected to be a shared
 #               library and will be loaded in run-time by the OpenSSL library.
@@ -458,6 +459,7 @@
     "module",
     "msan",
     "multiblock",
+    "multilib",
     "nextprotoneg",
     "ocb",
     "ocsp",
@@ -1907,6 +1909,10 @@
 
     my @build_dirs = ( [ ] );   # current directory
 
+    if ($disabled{"multilib"}) {
+        $target{"multilib"} = "";
+    }
+    
     $config{build_infos} = [ ];
 
     # We want to detect configdata.pm in the source tree, so we