diff --git a/SuperLU.spec b/SuperLU.spec index 3189808..092a911 100644 --- a/SuperLU.spec +++ b/SuperLU.spec @@ -2,7 +2,7 @@ %global libver 5 ## The RPM macro for the linker flags does not exist on EPEL -%if 0%{?rhel} < 7 +%if 0%{?rhel} && 0%{?rhel} < 7 %{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro} %endif