提交 d719e60c 编写于 作者: A Andy Polyakov

Allow for warning-free passing of -Wl options on config command line. One

possible usage is to pass -Wl,-z,-noexecstack on Linux to ensure the stack
is marked non-executable. Well, -Wa,--noexecstack works fine too...
上级 0cb9d93d
...@@ -724,7 +724,7 @@ PROCESS_ARGS: ...@@ -724,7 +724,7 @@ PROCESS_ARGS:
} }
elsif (/^[-+]/) elsif (/^[-+]/)
{ {
if (/^-[lL](.*)$/) if (/^-[lL](.*)$/ or /^-Wl,/)
{ {
$libs.=$_." "; $libs.=$_." ";
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册