-
I see What does it do? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This disables Portability will be reduced as if the target machine does not support the same instructions, running the binary will lead to an illegal instruction error. |
Beta Was this translation helpful? Give feedback.
This disables
-march=native
which is a GCC/Clang flag used to specify that the compiler should optimize for the host processor. If this set to true it enables all instruction set extensions supported by the host processor. The compiler probes the host system's processor for its capabilities like usingcpuid
and then adds then appropriate compiler flags that are available on the current system.Portability will be reduced as if the target machine does not support the same instructions, running the binary will lead to an illegal instruction error.