diff options
author | Florian Franzmann | 2019-12-12 21:56:12 +0100 |
---|---|---|
committer | Florian Franzmann | 2019-12-22 01:15:09 +0100 |
commit | a73c14b675f38c934009e9cfe2d82f7b7ac46e84 (patch) | |
tree | 8f68b13be45fa9df13de5066e5d583f32b0fe37c /FUNCTIONS | |
parent | 5ee787743c82e03b30041700afa9bd7cc47e1b14 (diff) |
FUNCTIONS: add function for disabling -fexceptions
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-x | FUNCTIONS | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -537,6 +537,15 @@ disable_stack_clash_protection() { CXXFLAGS=${CXXFLAGS//-fstack-clash-protection} } +#--- +## disable_fexceptions +## A function for disabling -fexceptions +#--- +disable_fexceptions() { + CFLAGS=${CFLAGS//-fexceptions} && + CXXFLAGS=${CXXFLAGS//-fexceptions} +} + # 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 |