https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69329

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Mikhail Maltsev from comment #3)
> (In reply to Jakub Jelinek from comment #2)
> > That is just weird and I can't reproduce it.
> Somehow these two failures disappeared after rebuild.
> 
> > That said, perhaps it would be
> > better to only propagate LSAN_OPTIONS down if it is set.  So replace
> > "LSAN_OPTIONS=$(LSAN_OPTIONS)" with
> > "$(if $(LSAN_OPTIONS),LSAN_OPTIONS=$(LSAN_OPTIONS))"
> > in both spots?
> 
> Probably it should be something like
> 
> $(if $(LSAN_OPTIONS),LSAN_OPTIONS="$(LSAN_OPTIONS)")
> 
> because if I quote the whole condition, make says "make: *** empty string
> invalid as file name". I'm currently testing this patch and will submit it
> to gcc-patches after tests finish.

And
$(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
doesn't work either?  That would match more what is there for other options.

Reply via email to