[toolchain] libssp should also be configured in binutils
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Feb 2009 23:45:33 +0000 (23:45 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Feb 2009 23:45:33 +0000 (23:45 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14376 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/binutils/Makefile

index 93d6392..98091de 100644 (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))
 
+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)) \
This page took 0.022058 seconds and 4 git commands to generate.