This repository has been archived by the owner on Mar 28, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: Ensure noexecstack and relro are enabled
As we want to increase the security of the project, we want to make sure we have both noexecstack and relro flags enabled. By default on several distributions, gcc will enable those flags, but we don't want to end up with a case where those flags are not enabled. About the details of these flags, noexecstack protects the stack from being executed, while relro protects against data relocation. Notice that relro has been fully enabled by adding "-z now". A partial relro would have omitted this option. Signed-off-by: Sebastien Boeuf <[email protected]>
- Loading branch information