summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunseok Lee <chunseok.lee@samsung.com>2018-03-12 07:28:16 (GMT)
committerChunseok Lee <chunseok.lee@samsung.com>2018-03-12 07:29:53 (GMT)
commitbf88f670189b7baae58b538ae3b77052f8ec7e08 (patch)
treeceda1b80707dd9d15c0789e4362a89c9c66972a9
parent399653b670d9e14c47cef78c7e4dcdc369f66ed7 (diff)
downloadcoreclr-bf88f670189b7baae58b538ae3b77052f8ec7e08.zip
coreclr-bf88f670189b7baae58b538ae3b77052f8ec7e08.tar.gz
coreclr-bf88f670189b7baae58b538ae3b77052f8ec7e08.tar.bz2
Change-Id: Ib692845a6e3fc73f24512737b47ab9427233e325 Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
-rw-r--r--packaging/coreclr.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index e902cdb..bd64525 100644
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -246,6 +246,10 @@ done
%endif
%build
+# disable asan build when global forced asan build
+%{?asan:export ASAN_OPTIONS=use_sigaltstack=false:`cat /ASAN_OPTIONS`}
+%{?asan:/usr/bin/gcc-unforce-options}
+%{?asan:export LD_LIBRARY_PATH=`pwd`/libicu}
export CFLAGS=" --target=%{_host} "
export CXXFLAGS=" --target=%{_host} "