Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: globally enable POSITION_INDEPENDENT_CODE
Instead of setting the POSITION_INDEPENDENT_CODE flag on individual targets, we simply enable it for everything in core/ Also, by utilizing PIE (Position Independent Executable) support in CMake we make sure all our executables are build with PIE enabled if the toolchain supports it.
- Loading branch information
Showing
4 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters