summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/openblas.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/openblas.spec b/packaging/openblas.spec
index 52422b59c..093155671 100644
--- a/packaging/openblas.spec
+++ b/packaging/openblas.spec
@@ -1,6 +1,6 @@
Name: openblas
Version: 0.2.20
-Release: 0
+Release: 1
Summary: An optimized BLAS library based on GotoBLAS2
License: BSD-3-Clause and MIT and Apache-2.0
Group: Productivity/Scientific/Math
@@ -145,6 +145,8 @@ cp -ar %{name}-%{version} serial
export EXTRALIB+="-lasan"
%endif
+export LDFLAGS+="-Wl,-z,noexecstack"
+
# Only x86/x86-64 CPUs support DYNAMIC_ARCH
%ifarch %ix86 x86_64
%define openblas_target DYNAMIC_ARCH=1