diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2017-09-03 11:53:50 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-11-24 22:39:56 +0100 |
commit | 31b134a64537b1f6f38cd9378f4ddf0f43b22b43 (patch) | |
tree | 5f36d83a4a9c4f618a828cbe68c6fd506c2c27b0 /package/python-mwclient/0001-setup.py-require-pytest-runner-only-when-necessary.patch | |
parent | 5e6de23e45b2b39a39b00ff80ac6e884be89b62c (diff) | |
download | buildroot-31b134a64537b1f6f38cd9378f4ddf0f43b22b43.tar.gz buildroot-31b134a64537b1f6f38cd9378f4ddf0f43b22b43.zip |
arch/mips: inverse the NaN logic
Currently the possibility to choose the NaN encoding is conditional to
having a sufficiently recent gcc version.
Which means that the architecture selection depends on the gcc version.
But that's opposite to what we've always done in Buildroot: the software
versions are conditional to the architecture options. There is nothing
we can do about the hardware: it is there, we can't change it, while we
can restrict ourselves to using software that is working on said
hardware.
Thus, we inverse the logic, to move the condition onto the software
side: whenever NaN-2008 are selected, we restrict the toolchain
selection to at least a gcc-4.9.
But now, the option with the NaN type is always set, so we must enclose
the code in gcc.mk inside a HAS_NAN_OPTION condition, as is already done
for the external toolchain case.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-mwclient/0001-setup.py-require-pytest-runner-only-when-necessary.patch')
0 files changed, 0 insertions, 0 deletions