forked from Imagelibrary/rtems
19 lines
433 B
Plaintext
19 lines
433 B
Plaintext
%rename cpp old_cpp
|
|
%rename lib old_lib
|
|
%rename endfile old_endfile
|
|
%rename startfile old_startfile
|
|
%rename link old_link
|
|
|
|
*cpp:
|
|
%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
|
|
|
|
*lib:
|
|
%{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group}
|
|
|
|
*startfile:
|
|
%{!qrtems: %(old_startfile)} %{qrtems: idt_csu.o%s}
|
|
|
|
*link:
|
|
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e start %{!qnolinkcmds: -T linkcmds%s}}
|
|
|