From cb3c3f916a0ef91a758aa3b6795ad8fb038d00af Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 25 Dec 2020 21:55:57 -0800 Subject: [PATCH] doc: Suppress fontconfig warnings from Leak Sanitizer running pspp-output. Otherwise building the docs fails if one builds with Address Sanitizer or Leak Sanitizer. --- doc/automake.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/automake.mk b/doc/automake.mk index 5efe61228b..4ec6b5dcae 100644 --- a/doc/automake.mk +++ b/doc/automake.mk @@ -210,7 +210,7 @@ $(FIGURE_SPVS): $(pspp) $(AM_V_at)mv $@.tmp $@ # In some cases, the tutorial only wants some parts of the output. -convert = $(AM_V_GEN)$(pspp_output) convert $< $@ +convert = $(AM_V_GEN)LSAN_OPTIONS="suppressions=$(abs_top_srcdir)/tests/lsan.supp:print_suppressions=0:$$LSAN_OPTIONS" $(pspp_output) convert $< $@ doc/pspp-figures/tutorial2a.spv: doc/pspp-figures/tutorial2.spv $(pspp_output) $(convert) --command='Descriptives' doc/pspp-figures/tutorial2b.spv: doc/pspp-figures/tutorial2.spv $(pspp_output) -- 2.30.2