2014-08-15 12:52:38 +02:00
|
|
|
%rename link nano_link
|
|
|
|
%rename link_gcc_c_sequence nano_link_gcc_c_sequence
|
2017-02-15 11:51:54 +01:00
|
|
|
%rename cpp_unique_options nano_cpp_unique_options
|
2015-06-29 14:38:59 +02:00
|
|
|
|
2017-02-15 11:51:54 +01:00
|
|
|
*cpp_unique_options:
|
|
|
|
-isystem =/include/newlib-nano %(nano_cpp_unique_options)
|
2014-08-15 12:52:38 +02:00
|
|
|
|
|
|
|
*nano_libc:
|
|
|
|
-lc_nano
|
|
|
|
|
|
|
|
*nano_libgloss:
|
|
|
|
%{specs=rdimon.specs:-lrdimon_nano} %{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_nano) %:replace-outfile(-lg -lg_nano) %:replace-outfile(-lrdimon -lrdimon_nano) %:replace-outfile(-lstdc++ -lstdc++_nano) %:replace-outfile(-lsupc++ -lsupc++_nano)
|
|
|
|
|
|
|
|
*lib:
|
|
|
|
%{!shared:%{g*:-lg_nano} %{!p:%{!pg:-lc_nano}}%{p:-lc_p}%{pg:-lc_p}}
|
|
|
|
|