summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/coreclr.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index df57d00..ca05609 100755
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -150,8 +150,8 @@ done
%{?asan:/usr/bin/gcc-unforce-options}
%{?asan:export LD_LIBRARY_PATH=`pwd`/libicu-57.1}
-export CFLAGS=" --target=%{_host} "
-export CXXFLAGS=" --target=%{_host} "
+export CFLAGS=" --target=%{_host} -DLIBASAN=1"
+export CXXFLAGS=" --target=%{_host} -DLIBASAN=1"
%ifarch x86_64
# Even though build architectur is x86_64, it will be running on arm board.