summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index f82fe7002..e56603f06 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -3,9 +3,6 @@
include $(TOPDIR)/rules.mk
include ../rules.mk
-
-SHARED_LIBS:= 'libstdc++'
-
include Makefile.inc
GCC_CONFOPTS:= --prefix=$(TOOLCHAIN_DIR)/usr \
@@ -68,7 +65,6 @@ endif
ifeq ($(ADK_TOOLCHAIN_WITH_SSP),y)
GCC_FINAL_CONFOPTS+= --enable-libssp
-SHARED_LIBS:= 'libstdc++,libssp'
else
GCC_FINAL_CONFOPTS+= --disable-libssp
endif
@@ -198,7 +194,7 @@ $(GCC_BUILD_DIR_FINAL)/.configured:
--enable-languages=$(LANGUAGES) \
--with-build-sysroot='$${prefix}/${STAGING_HOST2TARGET}' \
--with-sysroot='$${prefix}/${STAGING_HOST2TARGET}' \
- --enable-shared='${SHARED_LIBS}' \
+ --enable-shared='libstdc++' \
--enable-cxx-flags='$(TARGET_CXXFLAGS)'
touch $@