summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-06 14:17:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-06 14:17:02 +0200
commitabb21a3a50a3c12aaa759db96a7aaf5d3bc52951 (patch)
tree0f8731b2cde05232cb1cf2b1f8d91570986365c7 /toolchain/gcc
parent6b2356a8a56112dae8fa21b5674491ec277b7c43 (diff)
rework uClibc config file generation
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 6a5936604..17ade4d04 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -48,7 +48,7 @@ ifneq ($(ADK_LINUX_AARCH64)$(ADK_LINUX_ALPHA)$(ADK_LINUX_ARC)$(ADK_LINUX_BFIN)$(
GCC_FINAL_CONFOPTS+= --enable-cxx-flags='$(TARGET_CXXFLAGS)'
endif
-ifeq ($(ADK_TARGET_UCLINUX),y)
+ifeq ($(ADK_TARGET_UCLINUX)$(ADK_TARGET_USE_STATIC_LIBS),y)
GCC_FINAL_CONFOPTS+= --disable-shared
else
# uClibc/glibc uses libgcc_s.so.1 for pthread_cancel with dlopen