forked from vegastrike/Vega-Strike-Engine-Source
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set -fno-PIE by default as a Ubuntu/Mint workaround
Older versions of Ubuntu and its derivates have an issue where the `file` utility will interpret Position Independent Executables as shared libraries: https://bugs.launchpad.net/ubuntu/+source/file/+bug/1747711 As a workaround, allow setting the option COMPILE_WITH_FPIE (defaults to OFF) and add a suitable message for maintainers in both the CMake code, during configuration runs and in ccmake. Update the build instructions in the README to reflect this change. Closes vegastrike#94
- Loading branch information
Showing
2 changed files
with
44 additions
and
4 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