diff options
author | Florian Franzmann | 2020-01-12 18:07:51 +0100 |
---|---|---|
committer | Florian Franzmann | 2020-01-12 19:39:26 +0100 |
commit | 487c141b67206ed96b7e712570b52d99e3ce5617 (patch) | |
tree | 0874940779d182876b911cf8ea68b6c8ed9f11e2 /FUNCTIONS | |
parent | 6116755058fe70646e6882d4c78c902303112928 (diff) |
FUNCTIONS: add disable_stack_protector
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-x | FUNCTIONS | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -538,6 +538,15 @@ disable_stack_clash_protection() { } #--- +## disable_stack_protector +## A function for disabling -fstack-protector-strong +#--- +disable_stack_protector() { + CFLAGS=${CFLAGS//-fstack-protector-strong} && + CXXFLAGS=${CXXFLAGS//-fstack-protector-strong} +} + +#--- ## disable_fortify_source ## A function for disabling -D_FORTIFY_SOURCE=2 #--- |