81 |
%define build_biarch 1 |
%define build_biarch 1 |
82 |
%endif |
%endif |
83 |
|
|
84 |
|
# build debug packages |
85 |
|
%define build_debug 1 |
86 |
|
|
87 |
# Define to bootstrap new glibc |
# Define to bootstrap new glibc |
88 |
%define build_bootstrap 0 |
%define build_bootstrap 0 |
89 |
%{expand: %{!?build_cross_bootstrap: %global build_cross_bootstrap 0}} |
%{expand: %{!?build_cross_bootstrap: %global build_cross_bootstrap 0}} |
469 |
############################################################################## |
############################################################################## |
470 |
# glibc core "debuginfo" sub-package |
# glibc core "debuginfo" sub-package |
471 |
############################################################################## |
############################################################################## |
472 |
%if 0%{?_enable_debug_packages} |
%if %{build_debug} |
473 |
%define debug_package %{nil} |
%define debug_package %{nil} |
474 |
%define __debug_install_post %{nil} |
%define __debug_install_post %{nil} |
475 |
%global __debug_package 1 |
%global __debug_package 1 |
1077 |
|
|
1078 |
# If we are building a debug package then copy all of the static archives |
# If we are building a debug package then copy all of the static archives |
1079 |
# into the debug directory to keep them as unstripped copies. |
# into the debug directory to keep them as unstripped copies. |
1080 |
%if 0%{?_enable_debug_packages} |
%if %{build_debug} |
1081 |
mkdir -p %{glibc_sysroot}%{_prefix}/lib/debug%{_libdir} |
mkdir -p %{glibc_sysroot}%{_prefix}/lib/debug%{_libdir} |
1082 |
cp -a %{glibc_sysroot}%{_libdir}/*.a \ |
cp -a %{glibc_sysroot}%{_libdir}/*.a \ |
1083 |
%{glibc_sysroot}%{_prefix}/lib/debug%{_libdir}/ |
%{glibc_sysroot}%{_prefix}/lib/debug%{_libdir}/ |
1378 |
%{_datadir}/i18n/SUPPORTED |
%{_datadir}/i18n/SUPPORTED |
1379 |
%endif |
%endif |
1380 |
|
|
1381 |
%if 0%{?_enable_debug_packages} |
%if %{build_debug} |
1382 |
%files debuginfo -f debuginfo.filelist |
%files debuginfo -f debuginfo.filelist |
1383 |
%endif |
%endif |