您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819202122
  1. %rename link nano_link
  2. %rename link_gcc_c_sequence nano_link_gcc_c_sequence
  3. %rename cpp_unique_options nano_cpp_unique_options
  4. *cpp_unique_options:
  5. -isystem =/include/newlib-nano %(nano_cpp_unique_options)
  6. *nano_libc:
  7. -lc_nano
  8. *nano_libgloss:
  9. %{specs=rdimon.specs:-lrdimon_nano} %{specs=nosys.specs:-lnosys}
  10. *link_gcc_c_sequence:
  11. %(nano_link_gcc_c_sequence) --start-group %G %(nano_libc) %(nano_libgloss) --end-group
  12. *link:
  13. %(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)
  14. *lib:
  15. %{!shared:%{g*:-lg_nano} %{!p:%{!pg:-lc_nano}}%{p:-lc_p}%{pg:-lc_p}}