!8 Add pie options to fix ebs link error

From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-07-13 08:07:04 +00:00 committed by Gitee
commit 1acf680f3d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global debug_package %{nil} %global debug_package %{nil}
Name: pbzip2 Name: pbzip2
Version: 1.1.13 Version: 1.1.13
Release: 1 Release: 2
Summary: Parallel implementation of the bzip2 block-sorting file compressor Summary: Parallel implementation of the bzip2 block-sorting file compressor
License: BSD License: BSD
URL: http://www.compression.ca/pbzip2/ URL: http://www.compression.ca/pbzip2/
@ -24,7 +24,7 @@ f=AUTHORS; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 && mv $f.utf8 $f && alias r
%build %build
%set_build_flags %set_build_flags
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags}" %make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags} -fpie -pie"
%install %install
@ -47,6 +47,9 @@ popd
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Thu Jul 13 2023 xu_ping <707078654@qq.com> - 1.1.13-2
- add pie options to fix link error
* Fri Feb 03 2023 wenchaofan <349464272@qq.com> - 1.1.13-1 * Fri Feb 03 2023 wenchaofan <349464272@qq.com> - 1.1.13-1
- Update to 1.1.13 - Update to 1.1.13