Merge "Make PIC/PIE levels compatible for LTO." am: 4be1d8823e am: dc8469e858

am: 648a3380e2

Change-Id: I0ddd3324811be38846da7076dceea77e43cc0fe7
This commit is contained in:
Vishwath Mohan 2017-04-18 02:06:07 +00:00 committed by android-build-merger
commit f1760bde83
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ endif
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