aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2019-11-08 17:16:49 -0800
committerDan Albert <danalbert@google.com>2019-11-08 17:17:52 -0800
commit7122be6901ecd97a1bac9bd404e457a7e4eedc38 (patch)
tree3ca5c562483b3060a86fefcad5ed3f2baebbd297 /build
parent56a16ecc91cdb2428d9a3ab4aaafc4d542d5f60a (diff)
downloadndk-7122be6901ecd97a1bac9bd404e457a7e4eedc38.tar.gz
Synchronize CMake and ndk-build build-id types.
For LLD these are equivalent, but we ought to be consistent either way. Test: treehugger Bug: None Change-Id: Iecfb7b2d533d9a6fc1254cb726fc3b755827447b
Diffstat (limited to 'build')
-rw-r--r--build/core/build-binary.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/core/build-binary.mk b/build/core/build-binary.mk
index 21c79cdc5..7aaba38e2 100644
--- a/build/core/build-binary.mk
+++ b/build/core/build-binary.mk
@@ -520,7 +520,7 @@ endif
# the old version of LLDB in Android Studio, which doesn't understand LLD's
# default hash ("fast").
ifeq ($(using_lld),true)
- linker_ldflags += -Wl,--build-id=tree
+ linker_ldflags += -Wl,--build-id=sha1
else
linker_ldflags += -Wl,--build-id
endif