summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-25 09:58:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-25 09:58:34 +0200
commita42b7f9cbf9b6c3f4a2b7fe2ff718e02ae15071f (patch)
treee8c1bf3e17956d0ca35561d9d20d636ed0634486 /toolchain/gcc/Makefile
parentdfa47f6ed121abcbc3d9974601fc30fbadf7c716 (diff)
parentcd47bd9a54844eb6b3184390bb90927395066043 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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