Use hardened build

epel9
Lukas Nykryn 12 years ago
parent cf2e7ab23c
commit 607de688fd

@ -1,9 +1,10 @@
%bcond_with multiuser
%global _hardened_build 1
Summary: A screen manager that supports multiple logins on one terminal
Name: screen
Version: 4.1.0
Release: 0.12.20120314git3c2946%{?dist}
Release: 0.13.20120314git3c2946%{?dist}
License: GPLv2+
Group: Applications/System
URL: http://www.gnu.org/software/screen
@ -62,9 +63,7 @@ support multiple logins on one terminal.
--with-pty-mode=0620 \
--with-pty-group=$(getent group tty | cut -d : -f 3) \
--with-sys-screenrc="%{_sysconfdir}/screenrc" \
--with-socket-dir="%{_localstatedir}/run/screen" \
CFLAGS="-pie -fPIE -Wall -g -O2 " \
LDFLAGS="-z relro -z now -pie"
--with-socket-dir="%{_localstatedir}/run/screen"
# We would like to have braille support.
sed -i -e 's/.*#.*undef.*HAVE_BRAILLE.*/#define HAVE_BRAILLE 1/;' config.h
@ -146,6 +145,9 @@ fi
%endif
%changelog
* Wed Dec 05 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 4.1.0-0.13.20120314git3c2946
- Use hardened build
* Mon Sep 03 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 4.1.0-0.12.20120314git3c2946
- PIE and RELRO (#853191)

Loading…
Cancel
Save