summaryrefslogtreecommitdiffstats
path: root/contrib/crossrpms/gcc/gccnewlib.add
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-03-18 07:31:25 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-03-18 07:31:25 +0000
commit1ffbbcdd30cca934813d87e3db51e76741bfbaf2 (patch)
tree51b4a9163e1cda687c24f6c7787fd50334739bb3 /contrib/crossrpms/gcc/gccnewlib.add
parentUse %global instead of %define for _gcclibdir. (diff)
downloadrtems-1ffbbcdd30cca934813d87e3db51e76741bfbaf2.tar.bz2
Add bcond_with lto.
Diffstat (limited to '')
-rw-r--r--contrib/crossrpms/gcc/gccnewlib.add2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add
index a9f292864c..c1a9366bf9 100644
--- a/contrib/crossrpms/gcc/gccnewlib.add
+++ b/contrib/crossrpms/gcc/gccnewlib.add
@@ -22,6 +22,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{_host_rpmprefix}gcc
+%bcond_with lto
+
%if "%{gcc_version}" >= "4.3.0"
%define _gmp_minvers 4.1
%else