Hello, Please consider removing the lines from the ebuilds that replace "native" with "host". They stem from bugs 172723 and 273421, from the year 2007 and 2009 respectively. Now - many years later - ffmpeg compiles fine with -march=native. I don't see why these lines would still be warranted. I had requested the same for libav earlier, and it was committed, see bug 458768. Reproducible: Always
Created attachment 385672 [details, diff] ffmpeg-no-cflags-override.patch Patch to remove the override from the current ebuilds.
this patch is just as wrong for libav as it is for ffmpeg ffmpeg uses the cpu fed at configure to determine which hand written asm is better to use: have a look at configure. you should really diff the output of configure with and without this on x86; for example, here is disables 'fast_cmov'. plus, it helps for cross-compile optimizations.
Hello Alexis, Thanks for pointing this out. I reopened the old bug to get the change reverted. Kind regards, Sebastian