config: Add support for iconv encodings.

Turn off iconv support for the AVR because the arrays are too big.
This commit is contained in:
Chris Johns 2013-08-14 14:06:30 +10:00
parent 5118d730db
commit 27d6ea0dd1
2 changed files with 6 additions and 0 deletions

View File

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

View File

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