summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>2019-07-19 15:05:47 +0300
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>2019-10-11 08:34:37 +0900
commit625a1492ef192853c4a1e661dbb1fee3ebce9f41 (patch)
tree00436f698a5166c62b753eb3877effcf8c2bee81 /packaging
parent64e6e17d6f671149b23aa72b14fdcb6b98bec943 (diff)
downloadcoreclr-625a1492ef192853c4a1e661dbb1fee3ebce9f41.tar.gz
coreclr-625a1492ef192853c4a1e661dbb1fee3ebce9f41.tar.bz2
coreclr-625a1492ef192853c4a1e661dbb1fee3ebce9f41.zip
[Tizen] Enable Tizen ASan runtime support
Enable libasansi.so support (libasan.so with switchable interceptors). Change-Id: I9ee9b47b7beab55f036ffc0697ffab2583e9701c Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/coreclr.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 8efe0af560..8ce83e904b 100755
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -148,7 +148,9 @@ done
export ASAN_OPTIONS=use_sigaltstack=false:`cat /ASAN_OPTIONS`
/usr/bin/gcc-unforce-options
export LD_LIBRARY_PATH=`pwd`/libicu-57.1
-export CPPFLAGS+=" -DHAS_ADDRESS_SANITIZER "
+
+# enable ASan support for only external libs
+export TIZEN_ASAN_ENVIRONMENT=1
}
export CFLAGS=" --target=%{_host} "