diff options
| author | Jessica Clarke <[email protected]> | 2021-07-11 03:28:21 +0100 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2021-07-11 20:01:56 +0530 |
| commit | a3d328ae33a3e64d219b50269b4c013d363e9b82 (patch) | |
| tree | 02fe6f4e51ffe56cf00cfcbc9c68088d74477e52 /lib/utils/libquad/include | |
| parent | 397afe5ba1e9abeb48b801c864a56bda415441ce (diff) | |
firmware: Explicitly pass -pie to the linker, not just the driver
When using Clang with a bare-metal triple, -pie does not get passed to
the linker as it's not normally a thing that makes sense, unlike GCC
which will unconditionally forward it on and potentially result in a
linker error. However, LLD does support it, and manually forwarding it
on works as desired, so do so to fully support FW_PIC with Clang and
LLD.
Signed-off-by: Jessica Clarke <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/libquad/include')
0 files changed, 0 insertions, 0 deletions
