From a2380157f6688c5c065fa19060a2c33145bab95b Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sun, 29 May 2022 15:18:05 +0200 Subject: [PATCH] toolchain: enable libquadmath for PowerPC with VSX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit float128 is available on PowerPC with VSX [1] but it requires libquadmath support. [1] https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gcc/Floating-Types.html Signed-off-by: Romain Naour Cc: Cyril Bur Cc: Cédric Le Goater Signed-off-by: Thomas Petazzoni --- toolchain/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/toolchain/Config.in b/toolchain/Config.in index ea59ca2960..414c3eb275 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -833,9 +833,11 @@ config BR2_TOOLCHAIN_HAS_ATOMIC # - At least, libquadmath is available on: # - i*86 # - x86_64 +# - PowerPC with vector scalar (VSX) instruction set # - When available, libquadmath requires wchar support. config BR2_TOOLCHAIN_HAS_LIBQUADMATH bool default y if BR2_i386 || BR2_x86_64 + default y if BR2_POWERPC_CPU_HAS_VSX endmenu