Skip to content

Improve hardening flags

Adam Jones requested to merge adamjones/hardening into 18.08

This closes #317 (closed)

It has taken sometime to both deduce what we actually needed to do, as it turns out we enable PIE by default when building GCC, in gcc-stage2.bst and gcc.bst. So the spec files were no longer needed.

This currently splits the gcc/ld flags into default variables, which can then be extended upon based on the 'target-arch' in the Environment.

All flags have been provided by:

Edited by Adam Jones

Merge request reports