Add fPIC parameters to prevent symbol redirection failure
This commit is contained in:
parent
12501b4964
commit
7dfba032cc
@ -2,7 +2,7 @@
|
||||
Summary: Tool for getting the date/time from a remote machine
|
||||
Name: rdate
|
||||
Version: 1.5
|
||||
Release: 0
|
||||
Release: 1
|
||||
License: GPLv2+
|
||||
Source: https://www.aelius.com/njh/rdate/%{name}-%{version}.tar.gz
|
||||
URL: https://www.aelius.com/njh/rdate/
|
||||
@ -17,7 +17,7 @@ rdate connects to an RFC 868 time server over a TCP/IP network, printing the ret
|
||||
|
||||
%build
|
||||
%{configure} --prefix=%{buildroot}%{_bindir}
|
||||
%{make_build} CFLAGS="-DINET6 -fno-strict-aliasing"
|
||||
%{make_build} CFLAGS="-DINET6 -fno-strict-aliasing -fPIC"
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
@ -30,5 +30,8 @@ rdate connects to an RFC 868 time server over a TCP/IP network, printing the ret
|
||||
%{_mandir}/man1/rdate.1*
|
||||
|
||||
%changelog
|
||||
* Mon Mar 15 2021 huanghaitao <huanghaitao8@huawei.com> - 1.5-1
|
||||
- Add fPIC parameters to prevent symbol redirection failure
|
||||
|
||||
* Thu Nov 07 2019 openEuler Buildtam <buildteam@openeuler.org> - 1.5-0
|
||||
- Package Init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user