diff options
Diffstat (limited to 'packaging/openblas.spec')
-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 |