[Bug bootstrap/95005] zstd.h not found if installed in non-system prefix

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 11 09:31:45 GMT 2020


--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Michael Kuhn from comment #2)
> (In reply to Martin Liška from comment #1)
> > Thank you for the bug report.
> > I'm sending a better patch, can you please test it?
> I applied your patch on top of the GCC 10.1.0 tarball. Sadly, it still fails
> with the same error. It looks like ZSTD_CPPFLAGS is not actually
> exported/set anywhere (only available in configure), which is why I made use

You are right! It should be actually added to CXXFLAGS that are not respected
in gcc/Makefile:

I'm investigating that.

More information about the Gcc-bugs mailing list