fteqw icon indicating copy to clipboard operation
fteqw copied to clipboard

Allow overriding CC for cross-compilation.

Open Peter0x44 opened this issue 8 months ago • 0 comments

In the case of SDL2 cross-compilation, I had to make this change. FTE_TARGET=SDL2_arm and such don't work. If I override the compiler with something like: make CC=aarch64-linux-gnu-gcc then this particular line reverts it to gcc and calls the system compiler anyway. I'm not sure why this line needs to exist at all.

I did the same for windres, because it might also make sense to override it with an i686-w64-mingw32-windres. Or potentially for the aarch64-w64-mingw32 gcc in future.

Peter0x44 avatar Jun 14 '24 13:06 Peter0x44