[rtems-crossrpms commit] Activate gcc_stdint.

Ralf Corsepius ralf at rtems.org
Wed Mar 28 15:15:47 UTC 2012


Module:    rtems-crossrpms
Branch:    master
Commit:    219a1f7832f6c0fa9dd9a9f27f07367852a3b9fb
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=219a1f7832f6c0fa9dd9a9f27f07367852a3b9fb

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Wed Mar 28 09:02:04 2012 +0200

Activate gcc_stdint.

---

 gcc/gccnewlib.add |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gcc/gccnewlib.add b/gcc/gccnewlib.add
index 9f64a52..34b2b76 100644
--- a/gcc/gccnewlib.add
+++ b/gcc/gccnewlib.add
@@ -33,11 +33,15 @@ BuildRequires:  %{_host_rpmprefix}gcc
 # Bug in gcc-4.5-20100318, doesn't build them on x86_84 hosts.
 %bcond_with plugin
 
-# EXPERIMENTAL: Use gcc's stdint.h instead of newlib's
+# Use gcc's stdint.h instead of newlib's
 # Should be applicable to gcc >= 4.5.0
+%if "%{gcc_version}" >= "4.5.3"
+%bcond_without gcc_stdint
+%else
 %bcond_with gcc_stdint
+%endif
 
-# EXPERIMENTAL: Enable newlib's iconv
+# Enable newlib's iconv
 %bcond_without iconv
 
 # versions of libraries, we conditionally bundle if necessary




More information about the vc mailing list