diff options
author | Tae-Young Chung <ty83.chung@samsung.com> | 2018-05-18 16:21:26 +0900 |
---|---|---|
committer | Tae-Young Chung <ty83.chung@samsung.com> | 2018-05-18 16:21:26 +0900 |
commit | 6740346308c0dceb89d397c3e1f568b926db1f96 (patch) | |
tree | f0e511398caf42ec6cbdeb0da48a5e1122a5ea00 | |
parent | 08dfff14f1c48827bdb9070506d09a30b591625a (diff) | |
download | openblas-accepted/tizen/5.0/unified/20181102.025713.tar.gz openblas-accepted/tizen/5.0/unified/20181102.025713.tar.bz2 openblas-accepted/tizen/5.0/unified/20181102.025713.zip |
Fix ASAN build errorsubmit/tizen_5.0/20181101.000007submit/tizen/20180607.021137submit/tizen/20180604.002528submit/tizen/20180521.012403accepted/tizen/unified/20180611.015427accepted/tizen/5.0/unified/20181102.025713
Change-Id: Ib04fff8aec20780b141768b8baa1ed72425f696e
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
-rw-r--r-- | packaging/openblas.spec | 4 |
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 |