kumquat-buildroot/toolchain/toolchain-external
Thomas De Schampheleire b62cb78d6f toolchain-external wrapper: don't pass march/mcpu if mtune is on cmdline
Before commit 5715d2dcf4, the external
toolchain wrapper would not pass its own march/mcpu/mtune flags to the real
compiler if at least one of them was passed on the wrapper command-line.

The mentioned commit intended to remove the passing of an mtune parameter
coming from Buildroot, which was always empty after some other refactoring,
but the changes have the side-effect that march/mcpu is now also passed when
mtune is already given on the command-line. In that case, only mtune should
be passed to the real compiler.

Restore part of the original toolchain wrapper code to check the presence of
mtune on the command-line.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-26 15:20:10 +02:00
..
Config.in toolchain: add 4.1.x choice for headers 2015-06-22 18:19:34 +02:00
ext-toolchain-wrapper.c toolchain-external wrapper: don't pass march/mcpu if mtune is on cmdline 2015-07-26 15:20:10 +02:00
toolchain-external.hash toolchain-external: add CodeSourcery MIPS 2015.05, remove 2013.11 2015-06-04 22:46:34 +02:00
toolchain-external.mk trivial: fix typo optimazation 2015-07-17 19:39:19 +02:00