uclibc: fix _HAS_SSP replacement regex
authorJonas Gorski <jogo@openwrt.org>
Tue, 23 Jun 2015 10:43:19 +0000 (10:43 +0000)
committerJonas Gorski <jogo@openwrt.org>
Tue, 23 Jun 2015 10:43:19 +0000 (10:43 +0000)
A dot was dropped, making it match too much.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46116

toolchain/uClibc/common.mk

index a4d29c93d54e3c4d05020d9d43f95ba770666cc7..53a844318b477b32ba30877c5f223a79469a5b55 100644 (file)
@@ -78,7 +78,7 @@ define Host/Configure
                -e 's,^.*UCLIBC_HAS_SHADOW.*,UCLIBC_HAS_SHADOW=$(if $(CONFIG_SHADOW_PASSWORDS),y,n),g' \
                -e 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=$(if $(CONFIG_BUILD_NLS),y,n),g' \
                -e 's,^.*UCLIBC_BUILD_ALL_LOCALE.*,UCLIBC_BUILD_ALL_LOCALE=$(if $(CONFIG_BUILD_NLS),y,n),g' \
-               -e 's,^.*UCLIBC_HAS_SSP[^_]*,UCLIBC_HAS_SSP=$(if $(or $(CONFIG_PKG_CC_STACKPROTECTOR_REGULAR),$(CONFIG_PKG_CC_STACKPROTECTOR_STRONG)),y,n),g' \
+               -e 's,^.*UCLIBC_HAS_SSP[^_].*,UCLIBC_HAS_SSP=$(if $(or $(CONFIG_PKG_CC_STACKPROTECTOR_REGULAR),$(CONFIG_PKG_CC_STACKPROTECTOR_STRONG)),y,n),g' \
                $(HOST_BUILD_DIR)/.config.new
        cmp -s $(HOST_BUILD_DIR)/.config.new $(HOST_BUILD_DIR)/.config.last || { \
                cp $(HOST_BUILD_DIR)/.config.new $(HOST_BUILD_DIR)/.config && \