Skip to content
Snippets Groups Projects
Commit a6997b0c authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

gh-1262: Allow to disable backtraces entirely

* Fix hardening if backtraces are off
* Ensure that all tests are passed with hardened flags
* RPM: add --with/--without backtrace option (default is --with)
* RPM: remove dependency on libbfd, libiberty, libz if --without backtrace
* RPM: enable stripping and debuginfo if --without backtrace

Backtraces are still enabled by default.

Hardened flags used by RedHat:

  -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
  -fstack-protector-strong --param=ssp-buffer-size=4
  -pie -fPIC
parent 2db60897
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment