summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTae-Young Chung <ty83.chung@samsung.com>2019-05-17 11:23:39 +0900
committerTae-Young Chung <ty83.chung@samsung.com>2019-05-17 11:23:43 +0900
commit572be316c51ca0939de5208508c24c204cb01a8f (patch)
tree84a79a778eb96d42d72f7e409b796e134ff15b06
parent6a29ad92f4c033948e9c2ada4c8572734cc595f9 (diff)
downloadopenblas-572be316c51ca0939de5208508c24c204cb01a8f.tar.gz
openblas-572be316c51ca0939de5208508c24c204cb01a8f.tar.bz2
openblas-572be316c51ca0939de5208508c24c204cb01a8f.zip
Change-Id: Iff5ce567ab5c7ed3604f6b3bc58a16b82572436a Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
-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