strip quotes in gcc version check
authorFelix Fietkau <nbd@openwrt.org>
Fri, 16 Mar 2007 20:50:57 +0000 (20:50 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 16 Mar 2007 20:50:57 +0000 (20:50 +0000)
SVN-Revision: 6586

utils/mksh/Makefile

index 9206c1e..3468f21 100644 (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