libssp should also be configured in binutils

SVN-Revision: 14376
This commit is contained in:
Florian Fainelli 2009-02-02 23:45:33 +00:00
parent 09c3b45169
commit 565f1723f0
1 changed files with 7 additions and 0 deletions

View File

@ -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)) 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 define Build/Prepare
$(call Build/Prepare/Default) $(call Build/Prepare/Default)
ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME) ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
@ -51,6 +57,7 @@ define Build/Configure
--disable-multilib \ --disable-multilib \
--disable-werror \ --disable-werror \
--disable-nls \ --disable-nls \
$(LIB_SSP) \
$(EXTRA_TARGET) \ $(EXTRA_TARGET) \
$(SOFT_FLOAT_CONFIG_OPTION) \ $(SOFT_FLOAT_CONFIG_OPTION) \
$(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS)) \ $(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS)) \