Allow for warning-free passing of -Wl options on config command line. One
authorAndy Polyakov <appro@openssl.org>
Fri, 16 Dec 2005 11:29:19 +0000 (11:29 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 16 Dec 2005 11:29:19 +0000 (11:29 +0000)
possible usage is to pass -Wl,-z,-noexecstack on Linux to ensure the stack
is marked non-executable. Well, -Wa,--noexecstack works fine too...

Configure

index aa818ac..ac532bc 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -724,7 +724,7 @@ PROCESS_ARGS:
                        }
                elsif (/^[-+]/)
                        {
-                       if (/^-[lL](.*)$/)
+                       if (/^-[lL](.*)$/ or /^-Wl,/)
                                {
                                $libs.=$_." ";
                                }