mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
config: Add support for iconv encodings.
Turn off iconv support for the AVR because the arrays are too big.
This commit is contained in:
parent
5118d730db
commit
27d6ea0dd1
@ -28,6 +28,11 @@
|
|||||||
#
|
#
|
||||||
%define enable_cxx 0
|
%define enable_cxx 0
|
||||||
|
|
||||||
|
#
|
||||||
|
# Disable building ICONV support
|
||||||
|
#
|
||||||
|
%define with_iconv 0
|
||||||
|
|
||||||
#
|
#
|
||||||
# Set the build flags to work around the defaults in the
|
# Set the build flags to work around the defaults in the
|
||||||
# compiler that cause ICE.
|
# compiler that cause ICE.
|
||||||
|
@ -160,6 +160,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
|||||||
--disable-lto \
|
--disable-lto \
|
||||||
--enable-newlib-io-c99-formats \
|
--enable-newlib-io-c99-formats \
|
||||||
%{?with_iconv:--enable-newlib-iconv} \
|
%{?with_iconv:--enable-newlib-iconv} \
|
||||||
|
%{?with_iconv:--enable-newlib-iconv-encodings=%{_newlib_iconv_encodings}} \
|
||||||
%{?with_threads:--enable-threads}%{!?with_threads:--disable-threads} \
|
%{?with_threads:--enable-threads}%{!?with_threads:--disable-threads} \
|
||||||
%{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \
|
%{?with_plugin:--enable-plugin}%{!?with_plugin:--disable-plugin} \
|
||||||
%{?enable_obsolete:--enable-obsolete} \
|
%{?enable_obsolete:--enable-obsolete} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user