From: Jonas Gorski Date: Tue, 23 Jun 2015 10:43:19 +0000 (+0000) Subject: uclibc: fix _HAS_SSP replacement regex X-Git-Tag: reboot~2685 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2086f7284c63d759071729108e35687c4679b9fc;p=openwrt%2Fstaging%2Fpepe2k.git uclibc: fix _HAS_SSP replacement regex A dot was dropped, making it match too much. Signed-off-by: Jonas Gorski SVN-Revision: 46116 --- diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk index a4d29c93d5..53a844318b 100644 --- a/toolchain/uClibc/common.mk +++ b/toolchain/uClibc/common.mk @@ -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 && \