summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTae-Young Chung <ty83.chung@samsung.com>2018-05-18 16:21:26 +0900
committerTae-Young Chung <ty83.chung@samsung.com>2018-05-18 16:21:26 +0900
commit6740346308c0dceb89d397c3e1f568b926db1f96 (patch)
treef0e511398caf42ec6cbdeb0da48a5e1122a5ea00
parent08dfff14f1c48827bdb9070506d09a30b591625a (diff)
downloadopenblas-6740346308c0dceb89d397c3e1f568b926db1f96.tar.gz
openblas-6740346308c0dceb89d397c3e1f568b926db1f96.tar.bz2
openblas-6740346308c0dceb89d397c3e1f568b926db1f96.zip
Change-Id: Ib04fff8aec20780b141768b8baa1ed72425f696e Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
-rw-r--r--packaging/openblas.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/openblas.spec b/packaging/openblas.spec
index 599143f8f..aca70a60e 100644
--- a/packaging/openblas.spec
+++ b/packaging/openblas.spec
@@ -141,6 +141,10 @@ cp -ar %{name}-%{version} serial
# cp %{SOURCE1} .
%build
+%if 0%{?asan}
+export EXTRALIB+="-lasan"
+%endif
+
# Only x86/x86-64 CPUs support DYNAMIC_ARCH
%ifarch %ix86 x86_64
%define openblas_target DYNAMIC_ARCH=1