mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Always use GCC provided zlib
Always use the GCC provided zlib to make the compiler as independent of the host system as possible.
This commit is contained in:
parent
b64b38ef07
commit
1ad33b0f96
@ -129,12 +129,6 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
|||||||
languages="$languages,objc"
|
languages="$languages,objc"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{_host_os} == mingw32
|
|
||||||
zlib_option=""
|
|
||||||
%else
|
|
||||||
zlib_option="--with-system-zlib"
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%{host_build_flags}
|
%{host_build_flags}
|
||||||
|
|
||||||
../${source_dir_gcc}/configure \
|
../${source_dir_gcc}/configure \
|
||||||
@ -152,7 +146,6 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
|||||||
--disable-libstdcxx-pch \
|
--disable-libstdcxx-pch \
|
||||||
--with-gnu-as --with-gnu-ld --verbose \
|
--with-gnu-as --with-gnu-ld --verbose \
|
||||||
--with-newlib \
|
--with-newlib \
|
||||||
"$zlib_option" \
|
|
||||||
--disable-nls --without-included-gettext \
|
--disable-nls --without-included-gettext \
|
||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--enable-version-specific-runtime-libs \
|
--enable-version-specific-runtime-libs \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user