2 parents cbe4df5 + 5510216 commit 6d57469Copy full SHA for 6d57469
2 files changed
lib/wx/configure
@@ -6182,6 +6182,14 @@ fi
6182
6183
6184
6185
+case $host_os in
6186
+ darwin*)
6187
+ CFLAGS=`echo "$CFLAGS" | sed 's/-mbranch-protection=standard/ /g'`
6188
+ ;;
6189
+ *)
6190
6191
+esac
6192
+
6193
6194
6195
if test "X$windows_environment_" != "Xchecked"; then
lib/wx/configure.ac
@@ -93,6 +93,16 @@ WXERL_CAN_BUILD_DRIVER=true
93
94
ERL_OSSF_FLAGS
95
96
97
98
+ dnl For Darwin (MacOS) disable one hardening option which causes problems
99
+ dnl with C++ catch, as it is necessary for the module to operate correctly
100
101
102
103
104
105
106
LM_WINDOWS_ENVIRONMENT
107
108
USER_CFLAGS=$CFLAGS
0 commit comments