summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-03-22 19:15:58 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-03-22 19:16:03 +0100
commita2ca165ca7780e5a8f807a9459ded776c86df9c8 (patch)
treee898b92a47863e8a54b44f53d3ab7776eb121a3d /toolchain/gcc/Makefile
parentb53582e2c5566afce52e55ed22f6ce135c696884 (diff)
s390: fix musl toolchain build
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index bd5c6556a..96105d57f 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -223,6 +223,10 @@ GCC_CONFOPTS+= --without-long-double-128 --with-abi=elfv2
endif
endif
+ifeq ($(ADK_TARGET_ARCH_S390),y)
+GCC_CONFOPTS+= --with-long-double-128
+endif
+
ifneq ($(ADK_TARGET_ABI_MIPS64),)
GCC_CONFOPTS+= --with-abi=${ADK_TARGET_ABI_MIPS64}
endif