From 572be316c51ca0939de5208508c24c204cb01a8f Mon Sep 17 00:00:00 2001 From: Tae-Young Chung Date: Fri, 17 May 2019 11:23:39 +0900 Subject: Apply DEP to libopenblas_openmp Change-Id: Iff5ce567ab5c7ed3604f6b3bc58a16b82572436a Signed-off-by: Tae-Young Chung --- packaging/openblas.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3