summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gcc/target-gcc.add
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-03-18 07:21:50 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-03-18 07:21:50 +0000
commita50b092984c437bef301e0cecf604f5a001502c9 (patch)
treecd6ecd785aa204e0842f207e04cdeb5cc62330a0 /contrib/crossrpms/gcc/target-gcc.add
parentUpdate. (diff)
downloadrtems-a50b092984c437bef301e0cecf604f5a001502c9.tar.bz2
Preps for gcc-4.5
Diffstat (limited to '')
-rw-r--r--contrib/crossrpms/gcc/target-gcc.add5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/crossrpms/gcc/target-gcc.add b/contrib/crossrpms/gcc/target-gcc.add
index 831c319b18..ad6117596d 100644
--- a/contrib/crossrpms/gcc/target-gcc.add
+++ b/contrib/crossrpms/gcc/target-gcc.add
@@ -54,7 +54,10 @@ libgcc @tool_target@-gcc.
%dir %{_libexecdir}/gcc/@tool_target@/%{gcc_version}
%{_libexecdir}/gcc/@tool_target@/%{gcc_version}/cc1%{_exeext}
%{_libexecdir}/gcc/@tool_target@/%{gcc_version}/collect2%{_exeext}
-
+%if "%{gcc_version}" >= "4.5.0"
+%{?with_lto:%{_libexecdir}/gcc/@tool_target@/%{gcc_version}/lto%{_exeext}}
+%{_libexecdir}/gcc/@tool_target@/%{gcc_version}/lto-wrapper%{_exeext}
+%endif
%files -n @rpmprefix@@tool_target@-gcc-libgcc -f build/files.gcc
%defattr(-,root,root)