summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 4 insertions, 0 deletions
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}