Build with linker flags from redhat-rpm-config
This commit is contained in:
parent
94559c73e4
commit
d8a39dfdc2
@ -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 <fweimer@redhat.com> - 1.10.0-2
|
||||
- Build with linker flags from redhat-rpm-config
|
||||
|
||||
* Thu Jan 18 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.10.0-1
|
||||
- New version
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user