sdext: use --switch=2 --readonly-tables gperf options

See 73ecb92437 (Use --switch=2
--readonly-tables gperf options, 2014-04-13) for reasoning.

Change-Id: Ie1cfe753979d908077134b86587d8de5fa7c2ee8
This commit is contained in:
Miklos Vajna
2014-04-14 14:10:19 +02:00
parent bcccd85176
commit 0f9a75a2c5

View File

@@ -16,6 +16,6 @@ $(call gb_CustomTarget_get_workdir,sdext/pdfimport)/hash.cxx : \
$(SRCDIR)/sdext/source/pdfimport/wrapper/keyword_list \
| $(call gb_CustomTarget_get_workdir,sdext/pdfimport)/.dir
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),GPF,1)
$(GPERF) -C -t -l -L C++ -m 20 -Z PdfKeywordHash -k'4-5,$$' $< > $@
$(GPERF) -C -t -l -L C++ -m 20 --switch=2 --readonly-tables -Z PdfKeywordHash -k'4-5,$$' $< > $@
# vim:set shiftwidth=4 tabstop=4 noexpandtab: