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 aa818ac053de6227e16757e8286a4c1379002247..ac532bcdb2a45b9ccd7a280844afe491e6f77892 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -724,7 +724,7 @@ PROCESS_ARGS:
                        }
                elsif (/^[-+]/)
                        {
-                       if (/^-[lL](.*)$/)
+                       if (/^-[lL](.*)$/ or /^-Wl,/)
                                {
                                $libs.=$_." ";
                                }