Apply DEP to libopenblas_openmp
authorTae-Young Chung <ty83.chung@samsung.com>
Fri, 17 May 2019 02:23:39 +0000 (11:23 +0900)
committerInki Dae <inki.dae@samsung.com>
Fri, 17 Jan 2020 06:03:15 +0000 (15:03 +0900)
Change-Id: Iff5ce567ab5c7ed3604f6b3bc58a16b82572436a
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
packaging/openblas.spec

index 52422b5..0931556 100644 (file)
@@ -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