The -march=native flag should not be added by default, as the resulting binaries are not guaranteed to be portable between machines.
I'm not sure why, but the flag didn't seem to be used when compiling anyway. Nevertheless, I'm guarding it behind a configuration option to be sure that it is never enabled by mistake.
The
-march=native
flag should not be added by default, as the resulting binaries are not guaranteed to be portable between machines.I'm not sure why, but the flag didn't seem to be used when compiling anyway. Nevertheless, I'm guarding it behind a configuration option to be sure that it is never enabled by mistake.