Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass -pie and -no-pie to the linker (#81533)
* Pass -pie and -no-pie to the linker When `PositionIndependentExecutable` is `false`, we need to pass `-no-pie` to the linker. Otherwise, we need to pass `-pie` to the linker with `-Wl` because we are not compiling the code at this stage (only linking the objects). * Add -pie for non-pie .o (in CentOS 7)
- Loading branch information