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

Skip to content
Commit 3a8d2bf3 authored by Pavel Chupin's avatar Pavel Chupin
Browse files

Fix PIC default to be -fPIC

-fPIC is more restrictive than -fPIE, but when "-fPIC -fPIE" used together
the latter overrides. It may lead to issues when building DSO where
-fPIC and not -fPIE is required.

For executables -fPIE -pie shoudld be added and it's fine to override
-fPIC as it is done now.

The reason why we don't have these issues so far is probably related to
-Bsymbolic added by default. But any attempt to remove it reveals these
problems:
https://android-review.googlesource.com/#/c/98061/



Change-Id: If0f10628b7cc41e564221a7a37298f7d65f859a8
Signed-off-by: default avatarPavel Chupin <pavel.v.chupin@intel.com>
parent b0c6ea9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment