$OpenBSD: patch-svx_Library_svxcore_mk,v 1.3 2015/09/29 16:10:48 robert Exp $
--- svx/Library_svxcore.mk.orig.port	Thu Sep 17 15:33:12 2015
+++ svx/Library_svxcore.mk	Sun Sep 27 12:18:17 2015
@@ -101,7 +101,7 @@ $(eval $(call gb_Library_use_system_darwin_frameworks,
 
 endif
 
-$(eval $(call gb_Library_add_exception_objects,svxcore,\
+$(eval $(call gb_Library_add_cxxobjects,svxcore,\
     svx/source/core/coreservices \
     svx/source/core/extedit \
     svx/source/core/graphichelper \
@@ -410,9 +410,10 @@ $(eval $(call gb_Library_add_exception_objects,svxcore
     svx/source/xoutdev/xtable \
     svx/source/xoutdev/XPropertyEntry \
     svx/source/xoutdev/xtablend \
+    , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
 ))
 
-$(eval $(call gb_Library_add_exception_objects,svxcore,\
+$(eval $(call gb_Library_add_cxxobjects,svxcore,\
     svx/source/fmcomp/dbaexchange \
     svx/source/fmcomp/fmgridcl \
     svx/source/fmcomp/fmgridif \
@@ -462,6 +463,7 @@ $(eval $(call gb_Library_add_exception_objects,svxcore
     svx/source/form/stringlistresource \
     svx/source/form/typemap \
     svx/source/form/xfm_addcondition \
+	, $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
 ))
 
 $(eval $(call gb_SdiTarget_SdiTarget,svx/sdi/svxslots,svx/sdi/svx))
