I'm trying to compile a version of x264 in a way such as it uses the yasm assembler, but system independent.. Is this even possible? I don't have a lot of knowledge about assemblers so this might be a silly questions to the pros.
My CPU has amd64 arch, so when I configure & make x264, it uses the amd64 flag. And when i try to incorporate the static library into my application (64-bit), it will use the CPU optimization instruction sets such as sse, mmx, ssse3 etc. But I'm trying to generate an executable that would work on most CPUs (including 32 bits systems), so how should I go about configuring the assembler and x264 so that it will see the instruction sets regardless of the system arch?
Thanks a lot!