summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/gensh2/bsp_specs
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh2/bsp_specs')
-rw-r--r--c/src/lib/libbsp/sh/gensh2/bsp_specs6
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/sh/gensh2/bsp_specs b/c/src/lib/libbsp/sh/gensh2/bsp_specs
index 4e6d83b199..189c2d27a7 100644
--- a/c/src/lib/libbsp/sh/gensh2/bsp_specs
+++ b/c/src/lib/libbsp/sh/gensh2/bsp_specs
@@ -9,13 +9,13 @@
*lib:
%{!qrtems: %(old_lib)} \
-%{qrtems: --start-group %{!qrtems_debug: -lrtemsbsp -lrtemscpu } %{qrtems_debug: -lrtemsbsp_g -lrtemscpu_g} \
+%{!nostdlib: %{qrtems: --start-group %{!qrtems_debug: -lrtemsbsp -lrtemscpu } %{qrtems_debug: -lrtemsbsp_g -lrtemscpu_g} \
-lc -lgcc --end-group \
- %{!qnolinkcmds: -T linkcmds%s}}
+ %{!qnolinkcmds: -T linkcmds%s}}}
*startfile:
%{!qrtems: %(old_startfile)} \
-%{qrtems: %{qrtems_debug: start_g.o%s} %{!qrtems_debug: start.o%s}}
+%{!nostdlib: %{qrtems: %{qrtems_debug: start_g.o%s} %{!qrtems_debug: start.o%s}}}
*link:
%(old_link) %{qrtems: -dc -dp -N -e _start}