diff options
Diffstat (limited to 'nx-libs.spec')
-rw-r--r-- | nx-libs.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-libs.spec b/nx-libs.spec index 07e2ba5c9..fe68896ca 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -527,6 +527,8 @@ cat >"my_configure" <<'EOF' %configure EOF chmod a+x my_configure; +# The RPM macro for the linker flags does not exist on EPEL +%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro} export SHLIBGLOBALSFLAGS="%{__global_ldflags}" make %{?_smp_mflags} CONFIGURE="$PWD/my_configure" USRLIBDIR=%{_libdir}/nx SHLIBDIR=%{_libdir}/nx |