mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
m32c: Disable iconv and use gn89 with clang on FreeBSD.
This commit is contained in:
parent
ebd5615745
commit
90c49f5089
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user