summaryrefslogtreecommitdiffstats
path: root/FUNCTIONS
diff options
context:
space:
mode:
authorFlorian Franzmann2020-01-05 18:39:08 +0100
committerFlorian Franzmann2020-01-06 15:56:12 +0100
commitbbb9a4488cc04af9f068c72d1d19aab103aff654 (patch)
treeffa637ba6ce2fc84eac55fdcd2c9def4e25be681 /FUNCTIONS
parent8973e916c1b806f82b12a0a74a51b6588d896722 (diff)
FUNCTIONS: add disable_relro
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-xFUNCTIONS8
1 files changed, 8 insertions, 0 deletions
diff --git a/FUNCTIONS b/FUNCTIONS
index 9d015a7c52..9a7554c21e 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -564,6 +564,14 @@ disable_reject_underlinking() {
LDFLAGS=${LDFLAGS//-Wl,-z,defs}
}
+#---
+## disable_relro
+## A function for disabling -Wl,-z,relro
+#---
+disable_relro() {
+ LDFLAGS=${LDFLAGS//-Wl,-z,relro}
+}
+
# FUnction to tag config files that cannot be tagged by the normal install_config_file method
# do NOT call check_if_modified or mark_file_modified ANYWHERE ELSE!!!
# # THIS function will go away when it migrates down from devel sorcery