summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwin Jansen <jansene@google.com>2018-05-31 09:17:02 -0700
committerGreg Hartman <ghartman@google.com>2018-08-23 17:30:51 -0700
commit7c2f03d54766702910e78e8d26610a9974762aef (patch)
treea88b6d5d088e37015de6c5e5bf697befb78b5eae
parentf805871d4b060c969ba5b6ce44f736b1a9876e61 (diff)
downloaddevice_generic_opengl-transport-7c2f03d54766702910e78e8d26610a9974762aef.tar.gz
device_generic_opengl-transport-7c2f03d54766702910e78e8d26610a9974762aef.tar.bz2
device_generic_opengl-transport-7c2f03d54766702910e78e8d26610a9974762aef.zip
Enable ASAN on mac os.
- We passed in the wrong type of parameters to enable asan. Note: Asan cannot work on gcc4.8-mingw. Bug: b/80526239 Test: Launch emulator on mac: ==95822==ERROR: AddressSanitizer: global-buffer-overflow on address 0x00010a24ea60 at pc 0x00010c7a7844 bp 0x70000eb11c70 sp 0x70000eb11420 Change-Id: I9ce056733ca93d88440c3c51ed1becc0c34d3dd4
-rw-r--r--host/commands/emugen/Android.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/host/commands/emugen/Android.mk b/host/commands/emugen/Android.mk
index e62f3e389..81d130de6 100644
--- a/host/commands/emugen/Android.mk
+++ b/host/commands/emugen/Android.mk
@@ -16,10 +16,6 @@ ifeq ($(BUILD_HOST_OS),linux)
LOCAL_LDFLAGS +=-Wl,-rpath=$(BUILD_OBJS_DIR)/intermediates64
endif
-ifneq (,$(BUILD_SANITIZER))
- LOCAL_LDFLAGS += -lclang_rt.asan-x86_64 -ldl
-endif
-
LOCAL_INSTALL := false
$(call emugl-end-module)