summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-05 13:05:10 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-05 16:36:39 +0200
commit781f64f1ef86073d854c697365d92bb99080241b (patch)
treea9f9ce08838b9a2c0e1b773cbae28423c2a460fb /toolchain/gcc
parent57c24354dc02e5016f30cae3acf452d331945ade (diff)
rework ssp support, use static version of libssp
Diffstat (limited to 'toolchain/gcc')
-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 $@