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 9206c1e6c3f0ab86a15b32cf6ac8107dea698edd..3468f21cce894ec45a25c818a85fc4d39ce48b5b 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