summaryrefslogtreecommitdiffstats
path: root/FUNCTIONS
diff options
context:
space:
mode:
authorFlorian Franzmann2019-12-20 23:33:24 +0100
committerFlorian Franzmann2019-12-22 01:15:10 +0100
commit4d981a4c263771a244b4dddd8f81b486611eb627 (patch)
tree7adf8ecc33c8133b6222ee6aacf864e12be6c8c1 /FUNCTIONS
parent8ceb6a773cbacf1f9961225112d6e0dfe55b1587 (diff)
FUNCTIONS: add function for disabling -Wl,-z,defs
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-xFUNCTIONS8
1 files changed, 8 insertions, 0 deletions
diff --git a/FUNCTIONS b/FUNCTIONS
index 159249de2b..4dbe602f46 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -546,6 +546,14 @@ disable_fexceptions() {
CXXFLAGS=${CXXFLAGS//-fexceptions}
}
+#---
+## disable_reject_underlinking
+## A function for disabling -fexceptions
+#---
+disable_reject_underlinking() {
+ LDFLAGS=${LDFLAGS//-Wl,-z,defs}
+}
+
# 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