diff --git a/hdf.spec b/hdf.spec index 4b2f227..b71c3e4 100644 --- a/hdf.spec +++ b/hdf.spec @@ -1,4 +1,4 @@ -%if 0%{?rhel} < 7 +%if 0%{?rhel} && 0%{?rhel} < 7 %{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro} %endif