strip quotes in gcc version check

git-svn-id: svn://svn.openwrt.org/openwrt/packages@6586 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-03-16 20:50:57 +00:00
parent 9d783860e1
commit 80b0d369b2

View File

@ -13,7 +13,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
# This program seems to depend on libssp, but only for GCC 4
GCCVER:=$(if $(DUMP),4,$(word 1,$(subst ., ,$(CONFIG_GCC_VERSION))))
GCCVER:=$(if $(DUMP),4,$(word 1,$(subst ., ,$(subst ",,$(CONFIG_GCC_VERSION)))))
#"))))
ifeq ($(GCCVER),4)
DEP:=+libssp
else