Skip to content

Commit

Permalink
Support SjLj C++ EH on Darwin with ObjFW runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Midar committed Aug 15, 2016
1 parent f72d30c commit 51d8a97
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion configure.ac
Expand Up @@ -408,7 +408,12 @@ case "$host_os" in
AC_SUBST(REEXPORT_LIBOBJC, ["-Wl,-reexport-lobjc"])
])
AS_IF([test x"$objc_runtime" = x"ObjFW runtime"], [
LDFLAGS="$LDFLAGS -Wl,-U,___gxx_personality_v0"
AS_IF([test x"$exception_type" = x"DWARF"], [
LDFLAGS="$LDFLAGS -Wl,-U,___gxx_personality_v0"
])
AS_IF([test x"$exception_type" = x"SjLj"], [
LDFLAGS="$LDFLAGS -Wl,-U,___gxx_personality_sj0"
])
])
;;
esac
Expand Down

0 comments on commit 51d8a97

Please sign in to comment.