Change-Id: If5908d239e1ba0ab02e9f2888d96618bcee11106
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
ac_cv_libunistring=yes \
ac_cv_libunistring_with_iconv_support=yes \
PACKAGE_VERSION=%{version} \
+%if 0%{?asan}
+ CFLAGS="${CFLAGS} -Wno-error" \
+ CXXFLAGS="${CXXFLAGS} -Wno-error" \
+ LDFLAGS="-pthread" \
+%else
CFLAGS="${CFLAGS} -static -Wno-error" \
CXXFLAGS="${CXXFLAGS} -static -Wno-error" \
LDFLAGS="-static -pthread" \
+%endif
CPPFLAGS="-DHAVE_GC_IS_HEAP_PTR -DHAVE_GC_MOVE_DISAPPEARING_LINK" \
BDW_GC_LIBS="-lgc"