__AVX__ not defined on Linux

I’m trying to compile some AVX code in my game/plugin, but AVX is not defined, and the compiler seems to not support AVX.

I’ve tried adding bUseAVX = true in my module - no change. Everything works on Windows.

Any ideas?