mirror of
https://github.com/rtlduino/RTL8710AF_GCC.git
synced 2026-07-17 16:55:41 +00:00
motify compile link error
motify compile link error
This commit is contained in:
parent
923914edae
commit
03e74a8e50
5418 changed files with 1367914 additions and 206149 deletions
|
|
@ -0,0 +1,18 @@
|
|||
%rename link nano_link
|
||||
%rename link_gcc_c_sequence nano_link_gcc_c_sequence
|
||||
|
||||
*nano_libc:
|
||||
-lc_s
|
||||
|
||||
*nano_libgloss:
|
||||
%{specs=rdimon.specs:-lrdimon_s} %{specs=nosys.specs:-lnosys}
|
||||
|
||||
*link_gcc_c_sequence:
|
||||
%(nano_link_gcc_c_sequence) --start-group %G %(nano_libc) %(nano_libgloss) --end-group
|
||||
|
||||
*link:
|
||||
%(nano_link) %:replace-outfile(-lc -lc_s) %:replace-outfile(-lg -lg_s) %:replace-outfile(-lrdimon -lrdimon_s) %:replace-outfile(-lstdc++ -lstdc++_s) %:replace-outfile(-lsupc++ -lsupc++_s)
|
||||
|
||||
*lib:
|
||||
%{!shared:%{g*:-lg_s} %{!p:%{!pg:-lc_s}}%{p:-lc_p}%{pg:-lc_p}}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue