Re: [PATCH][GCC 10] Fix build failure with zstd versio9n 1.2.0 or older.

2020-09-29 Thread Richard Biener via Gcc-patches
On Wed, Sep 30, 2020 at 5:56 AM Jim Wilson wrote: > > This is the gcc-10 branch version of the patch on mainline. > > Extends the configure check for zstd.h to also verify the zstd version, > since gcc requires features that only exist in 1.3.0 and newer. Without > this patch we get a build error

[PATCH][GCC 10] Fix build failure with zstd versio9n 1.2.0 or older.

2020-09-29 Thread Jim Wilson
This is the gcc-10 branch version of the patch on mainline. Extends the configure check for zstd.h to also verify the zstd version, since gcc requires features that only exist in 1.3.0 and newer. Without this patch we get a build error for lto-compress.c when using an old zstd version. OK? Jim