Make -mlittle-endian switch set the target_big_endian variable to false.