From 7784e06f3a748010f9c4be47f093ca37b9c6b88a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Aug 2017 01:44:31 +0200 Subject: ppc64le: glibc needs long double 128 support in gcc --- toolchain/gcc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toolchain') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index a36986f4d..1cb0d2540 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -195,8 +195,12 @@ GCC_CONFOPTS+= --with-long-double-64 --enable-secureplt endif ifeq ($(ADK_TARGET_ARCH_PPC64),y) +ifeq ($(ADK_TARGET_LIB_GLIBC),y) +GCC_CONFOPTS+= --with-long-double-128 --with-abi=elfv2 +else GCC_CONFOPTS+= --without-long-double-128 --with-abi=elfv2 endif +endif ifneq ($(ADK_TARGET_MIPS_ABI),) GCC_CONFOPTS+= --with-abi=${ADK_TARGET_MIPS_ABI} -- cgit v1.2.3