m32c: Disable iconv and use gn89 with clang on FreeBSD.

This commit is contained in:
Chris Johns 2016-09-05 10:15:20 +10:00
parent ebd5615745
commit 90c49f5089
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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