From cf837381c75b0982882b894fb018d5b4e6a90f59 Mon Sep 17 00:00:00 2001 From: YangYunYi Date: Wed, 9 Jun 2021 15:32:38 +0800 Subject: [PATCH] Add fPIC parameters to prevent symbol redirection failure --- rdate.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rdate.spec b/rdate.spec index 4e4eb47..4e6c29b 100644 --- a/rdate.spec +++ b/rdate.spec @@ -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 Jun 09 2021 yangyunyi - 1.5-1 +- Add fPIC parameters to prevent symbol redirection failure + * Thu Nov 07 2019 openEuler Buildtam - 1.5-0 - Package Init