summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-03-31 09:55:08 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-03-31 09:55:08 +0200
commit1ad33b0f96d2c25239aa418bd8afad21138310dc (patch)
treec2bc52d272fcf7ef11b90c09dccca5ea8c534c72
parent4.12: Fix the patch URL. (diff)
downloadrtems-source-builder-1ad33b0f96d2c25239aa418bd8afad21138310dc.tar.bz2
Always use GCC provided zlib
Always use the GCC provided zlib to make the compiler as independent of the host system as possible.
-rw-r--r--source-builder/config/gcc-common-1.cfg7
1 files changed, 0 insertions, 7 deletions
diff --git a/source-builder/config/gcc-common-1.cfg b/source-builder/config/gcc-common-1.cfg
index e5bee9d..a07e844 100644
--- a/source-builder/config/gcc-common-1.cfg
+++ b/source-builder/config/gcc-common-1.cfg
@@ -129,12 +129,6 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
languages="$languages,objc"
%endif
-%if %{_host_os} == mingw32
- zlib_option=""
-%else
- zlib_option="--with-system-zlib"
-%endif
-
%{host_build_flags}
../${source_dir_gcc}/configure \
@@ -152,7 +146,6 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
--disable-libstdcxx-pch \
--with-gnu-as --with-gnu-ld --verbose \
--with-newlib \
- "$zlib_option" \
--disable-nls --without-included-gettext \
--disable-win32-registry \
--enable-version-specific-runtime-libs \