From d8a39dfdc21da88737e69daab6efe73bdbe1597e Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 1 Feb 2018 18:55:19 +0100 Subject: [PATCH] Build with linker flags from redhat-rpm-config --- pptp.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pptp.spec b/pptp.spec index 78b94fc..52ee24c 100644 --- a/pptp.spec +++ b/pptp.spec @@ -1,6 +1,6 @@ Name: pptp Version: 1.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Point-to-Point Tunneling Protocol (PPTP) Client Group: Applications/Internet License: GPLv2+ @@ -35,7 +35,7 @@ perl -pi -e 's/install -o root -m 555 pptp/install -m 755 pptp/;' Makefile %build OUR_CFLAGS="-Wall %{optflags} -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes" -make %{?_smp_mflags} CFLAGS="$OUR_CFLAGS" IP=/sbin/ip +make %{?_smp_mflags} CFLAGS="$OUR_CFLAGS" LDFLAGS="$RPM_LD_FLAGS" IP=/sbin/ip %install rm -rf %{buildroot} @@ -65,6 +65,9 @@ rm -rf %{buildroot} %{_mandir}/man8/pptpsetup.8* %changelog +* Thu Feb 1 2018 Florian Weimer - 1.10.0-2 +- Build with linker flags from redhat-rpm-config + * Thu Jan 18 2018 Jaroslav Škarvada - 1.10.0-1 - New version