提交 6e0ad227 编写于 作者: R Rich Felker

make gcc wrapper rewrite link options rather than just extending them

this is not tested yet, but should work to get rid of unwanted
--hash-style=gnu hacks present in some distro-patched gcc versions.
上级 f7d15dcc
......@@ -22,10 +22,8 @@ libgcc.a%s %:if-exists(libgcc_eh.a%s)
*endfile:
%{shared|pie:crtendS.o%s;:crtend.o%s} $libdir/crtn.o
%rename link old_link
*link:
%(old_link) -dynamic-linker $ldso -nostdlib
-dynamic-linker $ldso -nostdlib %{shared:-shared} %{static:-static} %{rdynamic:-export-dynamic}
*esp_link:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册