Merge "Make PIC/PIE levels compatible for LTO." am: 4be1d8823e
am: dc8469e858
Change-Id: I67e094ceff60ff01fa8636ca94d1dd0c19728256
This commit is contained in:
@@ -309,7 +309,7 @@ endif
|
|||||||
ifneq ($(LOCAL_NO_PIC),true)
|
ifneq ($(LOCAL_NO_PIC),true)
|
||||||
ifneq ($($(my_prefix)OS),windows)
|
ifneq ($($(my_prefix)OS),windows)
|
||||||
ifneq ($(filter EXECUTABLES NATIVE_TESTS,$(LOCAL_MODULE_CLASS)),)
|
ifneq ($(filter EXECUTABLES NATIVE_TESTS,$(LOCAL_MODULE_CLASS)),)
|
||||||
my_cflags += -fpie
|
my_cflags += -fPIE
|
||||||
else
|
else
|
||||||
my_cflags += -fPIC
|
my_cflags += -fPIC
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user