fix link error

Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
cherry530 2023-07-13 12:40:31 +08:00
parent 5bde76ba0b
commit a95d95120a

View File

@ -1,7 +1,7 @@
%global debug_package %{nil}
Name: pbzip2
Version: 1.1.13
Release: 1
Release: 2
Summary: Parallel implementation of the bzip2 block-sorting file compressor
License: BSD
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
%set_build_flags
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags}"
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags} -fpie -pie"
%install
@ -47,6 +47,9 @@ popd
%{_mandir}/man1/*
%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
- Update to 1.1.13