summaryrefslogtreecommitdiff
path: root/python/python.go
diff options
context:
space:
mode:
author Vishwath Mohan <vishwath@google.com> 2017-04-17 16:21:41 -0700
committer Vishwath Mohan <vishwath@google.com> 2017-04-17 16:21:41 -0700
commite87b768200fb1ea3a9a47645b3e4159d549c0b70 (patch)
tree024cd4bc9da1732221b04b1c8a54cb39219a22ad /python/python.go
parent3e231fd8bd61f2eb77e76e06a1877e2904564358 (diff)
Make PIC/PIE levels compatible for LTO (Soong).
The build system currently uses -fPIC for position independent libraries, and -fpie for position independent executables. However, these levels are incompatible and conflict when an executable includes a static lib with the -fPIC flag - such as when building with LTO. This CL changes the flag for executables to the compatible -fPIE instead, which is equivalent for all architectures except PowerPC. Bug: 30227045 Test: ENABLE_CFI=true m -j40 checkbuild # builds and boots Change-Id: I95b585b553bc00bc1d4f52f4271c5e30e1007d9b
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions