summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-25 08:53:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-25 08:53:51 +0200
commitcd47bd9a54844eb6b3184390bb90927395066043 (patch)
treead335509167dcbe95ae6d3587f70624c076193b8 /toolchain/gcc/Makefile
parent021f3710f7a45f8d2a06d65184a58321b12314e1 (diff)
parent2a8c74815479fd1b3064ac6e3efb7e8c62192bbf (diff)
Merge branch 'master' of 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