[x264-devel] nasm: error: unrecognised option `-c'

Martin Storsjö martin at martin.st
Fri Apr 29 17:28:11 UTC 2022


On Fri, 29 Apr 2022, Mark Himsley wrote:

> AS was set to nasm because that's how my build process for FFmpeg has
> run for years.
>
> The build process is quite big, with lots of libraries with differing
> requirements for build tools and env vars.
> And the build creates static binaries for x86_64 linux, win and osx.
> Today I'm adding aarch64 linux - currently everything works so long as
> I --disable-asm in  x264 and ffmpeg.
>
> I'll follow your guidance and see where I get.

Right, I see. Yes in general, you shouldn't need to set AS when building 
for aarch64 (with x264 or ffmpeg) - and even for x86, they should both try 
looking for yasm/nasm and pick one or the other without you specifying it 
in a variable.

// Martin



More information about the x264-devel mailing list