Skip to content
Snippets Groups Projects
Commit 2821fb7d authored by Evgeniy Stepanov's avatar Evgeniy Stepanov
Browse files

[asan] Fix Android configure/make build.

Mirror recent cmake changes in the configure/make build system.

llvm-svn: 202793
parent 7ffeea4e
No related branches found
No related tags found
No related merge requests found
......@@ -110,9 +110,10 @@ ANDROID_COMMON_FLAGS := -target arm-linux-androideabi \
--sysroot=$(LLVM_ANDROID_TOOLCHAIN_DIR)/sysroot \
-B$(LLVM_ANDROID_TOOLCHAIN_DIR)
CFLAGS.asan-arm-android := $(CFLAGS) -fPIC -fno-builtin \
$(ANDROID_COMMON_FLAGS) -fno-rtti
$(ANDROID_COMMON_FLAGS) -fno-rtti \
-I$(ProjSrcRoot)/third_party/android/include
LDFLAGS.asan-arm-android := $(LDFLAGS) $(ANDROID_COMMON_FLAGS) -ldl -lm -llog \
-Wl,-soname=libclang_rt.asan-arm-android.so -Wl,-z,defs
-lstdc++ -Wl,-soname=libclang_rt.asan-arm-android.so -Wl,-z,defs
# Use our stub SDK as the sysroot to support more portable building. For now we
# just do this for the core module, because the stub SDK doesn't have
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment