summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2017-07-21 18:06:31 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-21 22:48:51 +0200
commit0af741187f6e273664da202936e79082071866f8 (patch)
tree6f89efc85cfba8d0b9234f7808fe009b7a79b21e /arch
parent1ddd41f231861bb28cfd56be55f7647fde3dd93d (diff)
downloadbuildroot-0af741187f6e273664da202936e79082071866f8.tar.gz
buildroot-0af741187f6e273664da202936e79082071866f8.zip
arch/mips: add option for toolchains supporting -mnan
-mnan option was added in gcc-4.9.0 so make sure that users cannot select the NaN mode when using toolchains that have a gcc older than 4.9.0, and also make sure that the -mnan option is not passed at all to the toolchain-wrapper and target cflags. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/Config.in.mips1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/Config.in.mips b/arch/Config.in.mips
index de71110e08..3d2dfe3f49 100644
--- a/arch/Config.in.mips
+++ b/arch/Config.in.mips
@@ -169,6 +169,7 @@ config BR2_MIPS_NAN_2008
choice
prompt "Target NaN"
+ depends on BR2_TOOLCHAIN_HAS_MNAN_OPTION
depends on BR2_mips_32r5 || BR2_mips_64r5
default BR2_MIPS_ENABLE_NAN_2008
help
OpenPOWER on IntegriCloud