summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunseok Lee <chunseok.lee@samsung.com>2018-03-12 07:28:16 (GMT)
committerwoongsuk cho <ws77.cho@samsung.com>2018-04-02 05:59:19 (GMT)
commit86de602cbbd7842001cf2d84f3d61e0f4d99f3e6 (patch)
tree0b499f6b02ba7f22a60bb888e3dd641b5ea5a0ac
parent790430fde60bf8a8347ecf4822ba70b34338a932 (diff)
downloadcoreclr-86de602cbbd7842001cf2d84f3d61e0f4d99f3e6.zip
coreclr-86de602cbbd7842001cf2d84f3d61e0f4d99f3e6.tar.gz
coreclr-86de602cbbd7842001cf2d84f3d61e0f4d99f3e6.tar.bz2
Change-Id: Ib692845a6e3fc73f24512737b47ab9427233e325 Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com> (cherry picked from commit bf88f670189b7baae58b538ae3b77052f8ec7e08)
-rw-r--r--packaging/coreclr.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 29e1ca3..f79873f 100644
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -251,6 +251,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} "