diff options
author | Chris Johns <chrisj@rtems.org> | 2016-09-05 10:15:20 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-09-05 10:15:20 +1000 |
commit | 90c49f508907655dc2cdc1054303e93e0864d37b (patch) | |
tree | 3e3a5c864142d3fdadb3fa074bb61019f99ac925 | |
parent | h8300: Update to binutils-2.26 and do not build iconv. (diff) | |
download | rtems-source-builder-90c49f508907655dc2cdc1054303e93e0864d37b.tar.bz2 |
m32c: Disable iconv and use gn89 with clang on FreeBSD.
-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 |