commit a8d8277e3ab863ad738070c47fc03749aa0cc0e7
Author: Jim Meyering <meyering(a)redhat.com>
Date: Mon Apr 16 12:31:56 2012 +0200
build: define _hardened_build in RPM spec template
* iwhd.spec.in: Define _hardened_build, per Fedora guidelines:
http://fedoraproject.org/wiki/Packaging:Guidelines#PIE
iwhd.spec.in | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/iwhd.spec.in b/iwhd.spec.in
index 4781487..653e2ac 100644
--- a/iwhd.spec.in
+++ b/iwhd.spec.in
@@ -37,6 +37,9 @@ BuildRequires: systemd-units
%define _unitdir /lib/systemd/system
%endif
+# Per
http://fedoraproject.org/wiki/Packaging:Guidelines#PIE
+%define _hardened_build 1
+
# mongodb-server is required at build time so make check succeeds
BuildRequires: mongodb-server