[nx-libs/el6] Define __global_ldflags if needed
Orion Poplawski
orion at fedoraproject.org
Thu Sep 12 20:36:17 UTC 2013
commit 7a9d1689706841d279550b58591e6cc032da328a
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Thu Sep 12 14:36:07 2013 -0600
Define __global_ldflags if needed
nx-libs.spec | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/nx-libs.spec b/nx-libs.spec
index bab937a..bd24262 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -1,4 +1,6 @@
+# _hardened_build not working for EL6, at least define __global_ldflags for now
%global _hardened_build 1
+%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro -Wl,-z,now}
Name: nx-libs
Version: 3.5.0.21
More information about the scm-commits
mailing list