From cc9a8332a45e025e9711001fe284ab0dfd7455ca Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Mon, 10 Dec 2012 12:19:27 +0100 Subject: [PATCH] conditionalize hardening away on s390(x) --- systemd.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systemd.spec b/systemd.spec index fac9046..3692f75 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1,6 +1,9 @@ #global gitcommit e7aee75 +# PIE is broken on s390 (#868839, #872148) +%ifnarch s390 s390x %global _hardened_build 1 +%endif # We ship a .pc file but don't want to have a dep on pkg-config. We # strip the automatically generated dep here and instead co-own the