Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc8469e8 authored by Vishwath Mohan's avatar Vishwath Mohan Committed by android-build-merger
Browse files

Merge "Make PIC/PIE levels compatible for LTO."

am: 4be1d882

Change-Id: I3e7409da1f9d570077693834b941979e1ffa6f5b
parents 418571ba 4be1d882
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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