summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-28 11:23:51 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-04-28 17:14:19 +0200
commit1ff7a8e41d9c97419ec24afd6267f3a6f40c8ddd (patch)
tree198017aba1c4c5c24a5d2695751b9d06a090d6cb /toolchain/gcc/Makefile
parent815465c6a92c236f92a5273d81c0e27cc1cf778a (diff)
musl: use shared libgcc for non-static builds
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 7477b3c8a..c4b711a0a 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -77,12 +77,8 @@ ifeq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS)$(ADK_TARGET_BINFMT_
GCC_FINAL_CONFOPTS+= --disable-shared
else
# uClibc/glibc uses libgcc_s.so.1 for pthread_cancel with dlopen
-ifeq (ADK_TARGET_LIB_MUSL),y)
-GCC_FINAL_CONFOPTS+= --enable-shared='libstdc++'
-else
GCC_FINAL_CONFOPTS+= --enable-shared='libstdc++,libgcc'
endif
-endif
ifeq ($(ADK_TOOLCHAIN_WITH_SSP),y)
GCC_FINAL_CONFOPTS+= --enable-libssp