From 5128fc1e8de51711b5025194fafb31d2948f375d Mon Sep 17 00:00:00 2001 From: pan-y Date: Tue, 26 Sep 2023 02:33:51 +0000 Subject: [PATCH] fix the issue that gdb cannot debug bash Signed-off-by: pan-y --- bash.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bash.spec b/bash.spec index 5abaacb..63e59e6 100644 --- a/bash.spec +++ b/bash.spec @@ -4,11 +4,12 @@ %if %{ENABLE_RELOC} %global ldflags_options -Wl,--emit-relocs,-pie +%define _find_debuginfo_opts -strip_a %endif Name: bash Version: 5.2.15 -Release: 4 +Release: 5 Summary: It is the Bourne Again Shell License: GPLv3 URL: https://www.gnu.org/software/bash @@ -94,7 +95,6 @@ ln -s ../configure . MFLAGS="CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DDEFAULT_PATH_VALUE='\"/usr/local/bin:/usr/bin\"' `getconf LFS_CFLAGS`" %make_build "$MFLAGS" objreloc bash -strip bash mv -f bash ../ popd @@ -158,6 +158,12 @@ make check %exclude %{_infodir}/dir %changelog +* Tue Sep 26 2023 yangpan -5.2.15-5 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:fix the issue that gdb cannot debug bash + * Tue Aug 29 2023 liutie -5.2.15-4 - Type:enhancement - ID:NA -- Gitee