commit | 4be1d8823e9620fe80548cfe96c0be905c4f5999 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Apr 18 01:48:57 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Apr 18 01:48:59 2017 +0000 |
tree | e01c5057213dbe86063b1b0f20fccace4986777e | |
parent | 04e4fd307146351d19443fab882fc13b4f65a4e4 [diff] | |
parent | c3b255622d22216add61c2aa6f6514aed2f354ca [diff] |
Merge "Make PIC/PIE levels compatible for LTO."
diff --git a/core/binary.mk b/core/binary.mk index 312bf2b..e28db7e 100644 --- a/core/binary.mk +++ b/core/binary.mk
@@ -309,7 +309,7 @@ ifneq ($(LOCAL_NO_PIC),true) ifneq ($($(my_prefix)OS),windows) ifneq ($(filter EXECUTABLES NATIVE_TESTS,$(LOCAL_MODULE_CLASS)),) -my_cflags += -fpie +my_cflags += -fPIE else my_cflags += -fPIC endif