diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 10:52:43 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-04 11:05:14 +0300 |
commit | 9b45575e89e09db5df0750da29f8c88c479805bd (patch) | |
tree | 5e7c78c9bbcdce88a2fc1f80ecb98c22348d9a14 /rsc | |
parent | 7c1a74b62ec33d6994445a7fb9d91088b3067316 (diff) |
WaE: C++ exception handler used, but unwind semantics are not enabled
So override the T_CXXFLAGS for the yacc-generated source file to use
gb_LinkTarget_EXCEPTIONFLAGS. Seems to work.
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/Executable_rsc.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rsc/Executable_rsc.mk b/rsc/Executable_rsc.mk index 651677dcfaf2..c95678d939c0 100644 --- a/rsc/Executable_rsc.mk +++ b/rsc/Executable_rsc.mk @@ -58,6 +58,8 @@ $(eval $(call gb_Executable_add_grammars,rsc,\ rsc/source/parser/rscyacc \ )) +$(call gb_YaccObject_get_target,rsc/source/parser/rscyacc): T_CXXFLAGS := $(gb_LinkTarget_EXCEPTIONFLAGS) $(gb_LinkTarget_CXXFLAGS) $(CXXFLAGS) + $(eval $(call gb_Executable_add_exception_objects,rsc,\ rsc/source/parser/erscerr \ rsc/source/parser/rscdb \ |