commit | 1d9b08aef5cd814406ae068f602cab54fdf2805f | [log] [tgz] |
---|---|---|
author | Stephanos Ioannidis <root@stephanos.io> | Tue Apr 21 11:54:19 2020 +0900 |
committer | Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no> | Wed Apr 22 09:43:24 2020 +0200 |
tree | 49d6012339ba8ff45b63c953a5b6fec2cd9da992 | |
parent | 6e3f86876ebed2d8de3296a926021a15cd06bfc1 [diff] |
arch: arm: Remove -march compiler flag 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>