Description: Workaround huge file compilation with -O2
 Upstream needs to re-consider the implementation.
Author: NIIBE Yutaka <gniibe@fsij.org>
Forwarded: Reported, but this workaround patch is not forwarded
Reviewed-By: NIIBE Yutaka <gniibe@fsij.org>
Last-Update: 2010-05-12

--- tomoe-0.6.0.orig/module/dict/Makefile.am
+++ tomoe-0.6.0/module/dict/Makefile.am
@@ -80,6 +80,8 @@ unihan_la_SOURCES =		\
 	$(unihan_built_sources)
 unihan_la_LIBADD = $(LIBADD) 
 
+unihan_la-tomoe-unihan.lo: CFLAGS=-g -O0
+
 unihan-compiler.rb: xml.la
 
 $(top_builddir)/data/kanjidic2.xml:
--- tomoe-0.6.0.orig/module/dict/Makefile.in
+++ tomoe-0.6.0/module/dict/Makefile.in
@@ -721,6 +721,8 @@ uninstall-am: uninstall-dict_moduleLTLIB
 	uninstall-dict_moduleLTLIBRARIES
 
 
+@USE_UNIHAN_TRUE@unihan_la-tomoe-unihan.lo: CFLAGS=-g -O0
+
 @USE_UNIHAN_TRUE@unihan-compiler.rb: xml.la
 
 @USE_UNIHAN_TRUE@$(top_builddir)/data/kanjidic2.xml:
