diff options
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> | 2015-07-26 12:53:07 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-26 15:20:10 +0200 |
commit | b62cb78d6fa982c0777053fe612159c692f1a948 (patch) | |
tree | 6e20d653fb83e1b8699733127eb12dc770a5d481 /package/perl-io-socket-ssl/perl-io-socket-ssl.hash | |
parent | 3dea23cf53258a3fa36cff6832fe193d75afdad1 (diff) | |
download | buildroot-b62cb78d6fa982c0777053fe612159c692f1a948.tar.gz buildroot-b62cb78d6fa982c0777053fe612159c692f1a948.zip |
toolchain-external wrapper: don't pass march/mcpu if mtune is on cmdline
Before commit 5715d2dcf48a39c16a3f3e41c97109613fed121d, 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>
Diffstat (limited to 'package/perl-io-socket-ssl/perl-io-socket-ssl.hash')
0 files changed, 0 insertions, 0 deletions