Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #272152

Category ffmpeg
Changed by Kacper Michajłow <kasper93ohnoyoudont@gmail.com>
Changed at Mon 22 Jun 2026 23:02:17
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision e999ea73bcb09eaec2f894039df26519bb9c5ab9

Comments

configure: keep -march=native for --cpu=host
--cpu=host resolved =native to the concrete CPU name and passed that to
the compiler. The name is a strict superset of the actual machine: it
discards the per-feature adjustments the compiler makes for =native
(e.g. AVX-512 left disabled by the OS or a VM), so the build could emit
instructions that fault at runtime.

Keep the resolved name for per-arch feature gating, but feed
-march/-mcpu=native for the codegen so that information is preserved.

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>

Changed files