summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTae-Young Chung <ty83.chung@samsung.com>2018-05-18 07:22:17 (GMT)
committerTae-Young Chung <ty83.chung@samsung.com>2018-05-18 07:22:17 (GMT)
commitf37c1f047785632cc046080e2fd27f46e42607cb (patch)
treeef2d0f399b633fba1526a40b75eb1d082df33248
parent0981183df72897560094ea01f0344f3d3d15fa78 (diff)
downloadhdf5-accepted/tizen/5.0/unified/20181102.024252.zip
hdf5-accepted/tizen/5.0/unified/20181102.024252.tar.gz
hdf5-accepted/tizen/5.0/unified/20181102.024252.tar.bz2
Change-Id: Ia2fcafecf9f34a1eb487073a68afd84e940ab2ef Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
-rw-r--r--packaging/hdf5.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/hdf5.spec b/packaging/hdf5.spec
index 30223d2..37184ed 100644
--- a/packaging/hdf5.spec
+++ b/packaging/hdf5.spec
@@ -375,6 +375,10 @@ export CC=gcc
export CXX=g++
export F9X=gfortran
export CFLAGS="%{optflags}"
+%if 0%{?asan}
+export LIBS+="-lasan"
+%endif
+
# workaround for known gcc issue, see RELEASE.txt
if gcc --version |grep -q " 4\.[68]"; then
export CFLAGS="${CFLAGS/-O2/-O0}"