I had a weird bug in recently, where apparently lightmaps were corrupted. Here is an example. Top is how it looked like, bottom is how it should look like.


Luckily I was able to bisect to the culprit: The compiler flag "-march=i686".
I am on a x86_64 Linux, nvidia binary drivers. If I recall correctly I added that flag to be able to compile a 32 bit binary. The engine is 32 bit (if you say it like that), at least I think it is.
How can this option cause this? Do I actually need it? Does it hint at some bug in the engine code?
I left it in the project for now, if you want to try it for yourself grab the source at https://github.com/SpiritQuaddicted/reQuiem and compile it with codeblocks.