Closed lsolanka-flya closed 2 years ago
-march=native cannot be set when cross compiling, as the system architecture is not native as such - the compilation fails with an error, e.g.:
-march=native
/build/src/ethzasl_msf/msf_updates/src/msf_distort/PoseDistorter.cc:1:0: error: unknown value 'native' for -march
The architecture type has to be specified explicitly in a toolchain instead. In other cases, using -march-native should be safe to use.
-march-native
Can one of the admins verify this patch?
-march=native
cannot be set when cross compiling, as the system architecture is not native as such - the compilation fails with an error, e.g.:The architecture type has to be specified explicitly in a toolchain instead. In other cases, using
-march-native
should be safe to use.