From 5b4007bb565c549efa1b37a61afe390f656398ab Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" Date: Sun, 17 Feb 2019 12:02:24 +0100 Subject: [PATCH] Fix bootstrapping glibc Bootstrapping glibc will disable benchtests, but the if/endif clauses excluded essentials from the bootstrapped build. Also, mtrace isn't built when bootstrapping. --- glibc.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/glibc.spec b/glibc.spec index 4f65b74..f728764 100644 --- a/glibc.spec +++ b/glibc.spec @@ -1163,6 +1163,7 @@ cp benchtests/scripts/benchout.schema.json %{glibc_sysroot}%{_prefix}/libexec/gl cp benchtests/scripts/compare_bench.py %{glibc_sysroot}%{_prefix}/libexec/glibc-benchtests/ cp benchtests/scripts/import_bench.py %{glibc_sysroot}%{_prefix}/libexec/glibc-benchtests/ cp benchtests/scripts/validate_benchout.py %{glibc_sysroot}%{_prefix}/libexec/glibc-benchtests/ +%endif # with benchtests %if 0%{?_enable_debug_packages} # The #line directives gperf generates do not give the proper @@ -1484,8 +1485,8 @@ cat > utils.filelist < nss-devel.filelist grep '/libnsl-[0-9.]*.so$' master.filelist > libnsl.filelist test $(wc -l < libnsl.filelist) -eq 1 +%if %{with benchtests} ############################################################################### # glibc-benchtests ###############################################################################