From 3eb0ed6d914d82e73717e125227acb5a5c36120c Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sat, 6 Mar 1999 14:35:03 +0000 Subject: [PATCH] Allow DSO flags like -fpic, -fPIC, -KPIC etc. to be specified on the `perl Configure ...' command line. This way one can compile OpenSSL libraries with Position Independent Code (PIC) which is needed for linking it into DSOs. --- CHANGES | 6 ++++++ Configure | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 4a5bd9ff80..7aea4643ad 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,12 @@ Changes between 0.9.1c and 0.9.2 + *) Allow DSO flags like -fpic, -fPIC, -KPIC etc. to be specified + on the `perl Configure ...' command line. This way one can compile + OpenSSL libraries with Position Independent Code (PIC) which is needed + for linking it into DSOs. + [Ralf S. Engelschall] + *) Remarkably, export ciphers were totally broken and no-one had noticed! Fixed. [Ben Laurie] diff --git a/Configure b/Configure index d7eb1ffe96..f9f92c34ee 100755 --- a/Configure +++ b/Configure @@ -289,9 +289,13 @@ foreach (@ARGV) { $flags.=$_." "; } + elsif ($_ =~ /^-[fK](.*)$/) + { + $flags.=$_." "; + } else { - die "unknown options, only -Dxxx, -Lxxx and -lxxx supported\n"; + die "unknown options, only -Dxxx, -Lxxx, -lxxx, -fxxx and -Kxxx are supported\n"; } } else -- 2.25.1