summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/no_cpu/no_bsp/bsp_specs
blob: 1a49230640ca91e3b5eb478152cc45ac3747b8a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
%rename cpp old_cpp
%rename lib old_lib

*cpp:
%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)

*lib:
%{!qrtems: %(old_lib)} \
%{qrtems: --start-group %{!qrtems_debug: -lrtemsall } %{qrtems_debug: -lrtemsall_g} \
 -lc -lgcc --end-group \
 %{!qnolinkcmds: -T linkcmds%s}}