summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-10-01 09:03:19 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-10-01 09:03:19 +0200
commit9019d28c87b2c0382834a8af861cda4dc12e2b06 (patch)
treee3bf3da087056d9d8394ec808bc9a2ea989d9f65 /toolchain/gcc/Makefile
parent60e2481a45eba0e84e771453cda48075899e95e3 (diff)
parent1bad8cf3c967cac8fb149217878b56f9cec03c8b (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