summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/coreclr.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 29e1ca3e32..f79873f5ea 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} "