disable osbolete rpc and disable parallel compilation

This commit is contained in:
wangshuo 2020-07-06 21:57:23 +08:00
parent ef20d9bd4d
commit 62468d7411

View File

@ -59,7 +59,7 @@
############################################################################## ##############################################################################
Name: glibc Name: glibc
Version: 2.28 Version: 2.28
Release: 42 Release: 43
Summary: The GNU libc libraries Summary: The GNU libc libraries
License: %{all_license} License: %{all_license}
URL: http://www.gnu.org/software/glibc/ URL: http://www.gnu.org/software/glibc/
@ -432,7 +432,6 @@ pushd $builddir
--enable-cet \ --enable-cet \
%endif %endif
%endif %endif
--enable-obsolete-rpc \
--enable-tunables \ --enable-tunables \
--enable-systemtap \ --enable-systemtap \
%ifarch %{ix86} %ifarch %{ix86}
@ -470,7 +469,12 @@ done
make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{target} make -j1 install_root=$RPM_BUILD_ROOT install -C build-%{target}
pushd build-%{target} pushd build-%{target}
make %{?_smp_mflags} -O install_root=$RPM_BUILD_ROOT \
# notice: we can't use parallel compilation because the localedata will use "localedef" command
# to create locales such as LC_CTYPE, LC_TIME etc, and this command will create a file,
# or create a hard link if there already has a output file who's input is the same,
# so when we use parallel compilation, it will lead to different results, and this will cause BEP inconsistence.
make -j1 install_root=$RPM_BUILD_ROOT \
install-locales -C ../localedata objdir=`pwd` install-locales -C ../localedata objdir=`pwd`
popd popd
@ -1076,6 +1080,10 @@ fi
%doc hesiod/README.hesiod %doc hesiod/README.hesiod
%changelog %changelog
* Mon Jul 6 2020 Wang Shuo<wangshuo47@huawei.com> - 2.28-43
- disable rpc, it has been splited to libnss and libtirpc
- disable parallel compilation
* Mon Jul 6 2020 Wang Shuo<wangshuo47@huawei.com> - 2.28-42 * Mon Jul 6 2020 Wang Shuo<wangshuo47@huawei.com> - 2.28-42
- add zh and en to LanguageList - add zh and en to LanguageList