Browse Source

s390: fix musl toolchain build

Waldemar Brodkorb 6 years ago
parent
commit
a2ca165ca7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      toolchain/gcc/Makefile

+ 4 - 0
toolchain/gcc/Makefile

@@ -223,6 +223,10 @@ GCC_CONFOPTS+=		--without-long-double-128 --with-abi=elfv2
 endif
 endif
 endif
 endif
 
 
+ifeq ($(ADK_TARGET_ARCH_S390),y)
+GCC_CONFOPTS+=		--with-long-double-128
+endif
+
 ifneq ($(ADK_TARGET_ABI_MIPS64),)
 ifneq ($(ADK_TARGET_ABI_MIPS64),)
 GCC_CONFOPTS+=		--with-abi=${ADK_TARGET_ABI_MIPS64}
 GCC_CONFOPTS+=		--with-abi=${ADK_TARGET_ABI_MIPS64}
 endif
 endif