Re: [PATCH] build/x86: fix support for older compilers

2025-07-02 Thread Bruce Richardson
On Wed, Jul 02, 2025 at 04:51:29PM +0100, Bruce Richardson wrote: > Some older compilers e.g. gcc 8.5, do not support overriding > -march=native with another architecture, leading to build warnings such > as reported in Bugzilla (link below). Add a check for that case, and > explicitly add the avx5

[PATCH] build/x86: fix support for older compilers

2025-07-02 Thread Bruce Richardson
Some older compilers e.g. gcc 8.5, do not support overriding -march=native with another architecture, leading to build warnings such as reported in Bugzilla (link below). Add a check for that case, and explicitly add the avx512 flags if necessary. Note: it appears that it is only the "native" flag