summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-24 21:18:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-24 21:18:14 +0200
commit3e43622856850d8c412e63897f9a9b74ea6e1606 (patch)
tree9cc56ee8cc0f2e659829faaee7f3f8c716c2736e /toolchain/gcc/Makefile
parent068db3f8b13d5e6312a9eda39d2530c68f85bc45 (diff)
fix uclibc based toolchain for ppc targets
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 2bc954347..5d00be19b 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -62,8 +62,12 @@ GCC_CONFOPTS+= --enable-tls
endif
ifeq ($(ARCH),powerpc)
+ifeq ($(ADK_TARGET_LIBC),musl)
GCC_CONFOPTS+= --disable-target-optspace --with-long-double-64 --enable-secureplt
else
+GCC_CONFOPTS+= --disable-target-optspace --with-long-double-128 --enable-secureplt
+endif
+else
GCC_CONFOPTS+= --enable-target-optspace
endif