mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-07 04:15:06 +00:00
The ARM GCC `-march` compiler flag is completely redundant when the `-mcpu` flag is specified, since the `-mcpu` selects the target ARM architecture as well as CPU-specific optimisations. In fact, it is disadvantageous to specify both `-march` and `-mcpu` flags because the `-march` flag overrides and disables any CPU-specific optimisations enabled by the `-mcpu` flag. Signed-off-by: Stephanos Ioannidis <root@stephanos.io> |
||
---|---|---|
.. | ||
clang | ||
gcc | ||
host-gcc | ||
xcc |