aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/binutils
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-02-02 23:45:33 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-02-02 23:45:33 +0000
commit73b13003a6121d4eeeec5d74bcf189a7b3779ff4 (patch)
treebc788502174d78707b2f666cd61e3f0d86f7b9d5 /toolchain/binutils
parent13776922048f6786e00f4c62cb595730f8a00719 (diff)
downloadupstream-73b13003a6121d4eeeec5d74bcf189a7b3779ff4.tar.gz
upstream-73b13003a6121d4eeeec5d74bcf189a7b3779ff4.tar.bz2
upstream-73b13003a6121d4eeeec5d74bcf189a7b3779ff4.zip
[toolchain] libssp should also be configured in binutils
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14376 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/binutils')
-rw-r--r--toolchain/binutils/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile
index 93d6392201..98091debe7 100644
--- a/toolchain/binutils/Makefile
+++ b/toolchain/binutils/Makefile
@@ -34,6 +34,12 @@ include $(INCLUDE_DIR)/host-build.mk
EXTRA_TARGET=$(if $(CONFIG_EXTRA_TARGET_ARCH),--enable-targets=$(call qstrip,$(CONFIG_EXTRA_TARGET_ARCH_NAME))-linux-$(TARGET_SUFFIX))
+ifneq ($(CONFIG_SSP_SUPPORT),)
+ LIB_SSP:=--enable-libssp
+else
+ LIB_SSP:=--disable-libssp
+endif
+
define Build/Prepare
$(call Build/Prepare/Default)
ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
@@ -51,6 +57,7 @@ define Build/Configure
--disable-multilib \
--disable-werror \
--disable-nls \
+ $(LIB_SSP) \
$(EXTRA_TARGET) \
$(SOFT_FLOAT_CONFIG_OPTION) \
$(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS)) \