Allow DSO flags like -fpic, -fPIC, -KPIC etc. to be specified on the `perl
[openssl.git] / Configure
index d7eb1ffe9624a0abb6c559fec9e6e2eefc12afcc..f9f92c34ee4be74c80bc15c92c5c98f98fd13306 100755 (executable)
--- 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