summaryrefslogtreecommitdiffstats
path: root/core/clang/config.mk
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-04-15 22:06:09 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-15 22:06:15 +0000
commit4ed95088425a7de5b4fac37fff4888f0a187d5d6 (patch)
tree7dccaeeec5cdd6e2f5330a2be81e2f0f1393b7c7 /core/clang/config.mk
parent03c6e8c58686ffe611952d363de21b54f813ca41 (diff)
parent08cca28f9215a840274a1b093b93bff8aaa6f33a (diff)
downloadbuild-4ed95088425a7de5b4fac37fff4888f0a187d5d6.zip
build-4ed95088425a7de5b4fac37fff4888f0a187d5d6.tar.gz
build-4ed95088425a7de5b4fac37fff4888f0a187d5d6.tar.bz2
Merge "Add support for ubsan."
Diffstat (limited to 'core/clang/config.mk')
-rw-r--r--core/clang/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/clang/config.mk b/core/clang/config.mk
index 3bc7b56..e2a4c08 100644
--- a/core/clang/config.mk
+++ b/core/clang/config.mk
@@ -120,7 +120,7 @@ endif
# Address sanitizer clang config
ADDRESS_SANITIZER_RUNTIME_LIBRARY := libclang_rt.asan_$(TARGET_ARCH)_android
-ADDRESS_SANITIZER_CONFIG_EXTRA_CFLAGS := -fsanitize=address -fno-omit-frame-pointer
+ADDRESS_SANITIZER_CONFIG_EXTRA_CFLAGS := -fno-omit-frame-pointer
ADDRESS_SANITIZER_CONFIG_EXTRA_LDFLAGS := -Wl,-u,__asan_preinit
ADDRESS_SANITIZER_CONFIG_EXTRA_SHARED_LIBRARIES := libdl $(ADDRESS_SANITIZER_RUNTIME_LIBRARY)