Use default build flags (PIE works now)

This commit is contained in:
Florian Weimer 2018-02-23 17:55:43 +01:00
parent 4e7238efc1
commit 6872c72bf3

View File

@ -1,7 +1,7 @@
Summary: A mouse server for the Linux console
Name: gpm
Version: 1.20.7
Release: 14%{?dist}
Release: 15%{?dist}
License: GPLv2 and GPLv2+ with exceptions and GPLv3+ and Verbatim and Copyright only
Group: System Environment/Daemons
URL: http://www.nico.schottelius.org/software/gpm/
@ -95,11 +95,6 @@ mouse support to text-based Linux applications.
#%patch7 -p1 -b .capability
%build
# ld fails with PIE
#LDFLAGS='-Wl,-z,relro,-z,now -pie'
#CFLAGS='-fPIE -DPIE'
LDFLAGS='-Wl,-z,relro,-z,now'
%configure
make %{?_smp_mflags}
@ -175,6 +170,9 @@ fi
%{_libdir}/libgpm.a
%changelog
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 1.20.7-15
- Use default build flags (PIE works now)
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.7-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild