!55 riscv64: 增加--enable-frame-pointers配置选项

From: @laokz 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2024-04-24 09:08:56 +00:00 committed by Gitee
commit 9e16ce6a45
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: gperftools
Version: 2.15
Release: 1
Release: 2
Summary: high-performance malloc and performance analysis tools
License: BSD-3-Clause
@ -68,6 +68,9 @@ CXXFLAGS=`echo $RPM_OPT_FLAGS -fno-strict-aliasing -Wno-unused-local-typedefs -D
%configure \
%ifarch s390x aarch64
--disable-general-dynamic-tls \
%endif
%ifarch riscv64
--enable-frame-pointers \
%endif
--disable-dynamic-sized-delete-support \
@ -105,6 +108,10 @@ LD_LIBRARY_PATH=./.libs make check
%{_mandir}/man1/*.1.gz
%changelog
* Mon Apr 22 2024 laokz <zhangkai@iscas.ac.cn> - 2.15-2
- riscv64: force --enable-frame-pointers due to unsupported
-momit-leaf-frame-pointer compile option until gcc14
* Mon Feb 5 2024 nicunshu <nicunshu@huawei.com> - 2.15-1
- Upgrade tp 2.15