summaryrefslogtreecommitdiffstats
path: root/FUNCTIONS
diff options
context:
space:
mode:
authorFlorian Franzmann2020-01-05 18:39:38 +0100
committerFlorian Franzmann2020-01-06 15:56:12 +0100
commit132ad20099e47fbf3a22cc6618312a3c130d7dd0 (patch)
tree85644317bc57ea69a54bfd5c998fb128eab9508d /FUNCTIONS
parentbbb9a4488cc04af9f068c72d1d19aab103aff654 (diff)
FUNCTIONS: add disable_z_now
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-xFUNCTIONS8
1 files changed, 8 insertions, 0 deletions
diff --git a/FUNCTIONS b/FUNCTIONS
index 9a7554c21e..206855896a 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -572,6 +572,14 @@ disable_relro() {
LDFLAGS=${LDFLAGS//-Wl,-z,relro}
}
+#---
+## disable_z_now
+## A function for disabling -Wl,-z,now
+#---
+disable_z_now() {
+ LDFLAGS=${LDFLAGS//-Wl,-z,now}
+}
+
# 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