瀏覽代碼

ppc64le: glibc needs long double 128 support in gcc

Waldemar Brodkorb 6 年之前
父節點
當前提交
7784e06f3a
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      toolchain/gcc/Makefile

+ 4 - 0
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}