diff options
author | Dan Albert <danalbert@google.com> | 2015-04-28 14:55:50 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-04-28 14:55:50 -0700 |
commit | 1f0d53080b515567d22aca02786c3d8d99dd3b34 (patch) | |
tree | 61c225f4777c76d563ac0380356d60e16c934274 | |
parent | a06323d6ed122031ce5c60244d85193dda083c47 (diff) | |
download | build-1f0d53080b515567d22aca02786c3d8d99dd3b34.tar.gz |
--no-as-needed needs -Wl.
Not sure why my checkbuild passed.
Change-Id: Iead84121daaaa32c5dd1f0712e9b7caaffd58352
-rw-r--r-- | core/config_sanitizers.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/config_sanitizers.mk b/core/config_sanitizers.mk index b8d95a53f9..b116283ffc 100644 --- a/core/config_sanitizers.mk +++ b/core/config_sanitizers.mk @@ -79,7 +79,7 @@ ifneq ($(filter address,$(my_sanitize)),) # -nodefaultlibs (provided with libc++) prevents the driver from linking # libraries needed with -fsanitize=address. http://b/18650275 (WAI) my_ldlibs += -lm -ldl -lpthread - my_ldflags += --no-as-needed + my_ldflags += -Wl,--no-as-needed else # ASan runtime library must be the first in the link order. my_shared_libraries := $($(LOCAL_2ND_ARCH_VAR_PREFIX)ADDRESS_SANITIZER_RUNTIME_LIBRARY) \ |