diff options
-rw-r--r-- | rtems/config/4.10/rtems-m32c.bset | 5 | ||||
-rw-r--r-- | rtems/config/tools/rtems-binutils-2.20.1-1.cfg | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/rtems/config/4.10/rtems-m32c.bset b/rtems/config/4.10/rtems-m32c.bset index 9a2eaeb..2b96424 100644 --- a/rtems/config/4.10/rtems-m32c.bset +++ b/rtems/config/4.10/rtems-m32c.bset @@ -8,6 +8,11 @@ %define enable_cxx 0 %define rtems_cxx 0 +# +# Disable building iconv. +# +%define with_iconv 0 + %define release 1 %define rtems_arch m32c %include 4.10/rtems-defaults.bset diff --git a/rtems/config/tools/rtems-binutils-2.20.1-1.cfg b/rtems/config/tools/rtems-binutils-2.20.1-1.cfg index 1e2fee3..f077fb8 100644 --- a/rtems/config/tools/rtems-binutils-2.20.1-1.cfg +++ b/rtems/config/tools/rtems-binutils-2.20.1-1.cfg @@ -5,6 +5,13 @@ %include %{_configdir}/checks.cfg %include %{_configdir}/base.cfg +# +# Force the standard of C code for GCC. +# +%if %{_build_os} == freebsd + %define build_cflags %{build_cflags} --std=gnu89 -Wno-return-type +%endif + %define binutils_version 2.20.1 %hash md5 binutils-%{binutils_version}.tar.bz2 2b9dc8f2b7dbd5ec5992c6e29de0b764 |