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

2025-07-03 Thread Thomas Monjalon
03/07/2025 12:21, 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. > > No

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

2025-07-03 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